Skip to content

update pre-commit hooks #72

update pre-commit hooks

update pre-commit hooks #72

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
# checkout v2, with recursive submodule update
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build 🔨
run: |
DOCKER_USER="$(id -u):$(id -g)" MDBOOK_JUST_BUILD=1 docker-compose run mdbook
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book