Skip to content

development devcontainer #89

development devcontainer

development devcontainer #89

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
paths:
- 'docs/**'
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
env:
FORCE_COLOR: 1
steps:
- uses: actions/checkout@v2
- name: Download latest earthly
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Earthly version
run: earthly --version
- name: Run build
run: earthly +build
working-directory: ./docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/dist