Skip to content

eqctier3-19f7980e-1bab-4184-a4e3-a76f65a6087a (#101) #23

eqctier3-19f7980e-1bab-4184-a4e3-a76f65a6087a (#101)

eqctier3-19f7980e-1bab-4184-a4e3-a76f65a6087a (#101) #23

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
env:
PRE_BUILD_DIR: "_pre_build"
jobs:
deploy-book:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: 'pip'
- run: pip install -r requirements.txt
- run: make build-book PRE_BUILD_DIR=${{ env.PRE_BUILD_DIR }}
- run: touch ${{ env.PRE_BUILD_DIR }}/_build/html/.nojekyll
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: "${{ env.PRE_BUILD_DIR }}/_build/html"
# See: https://github.com/marketplace/actions/deploy-pr-preview#ensure-your-main-deployment-is-compatible
clean-exclude: pr-preview/
force: false