Skip to content

add string to qa scripts (#240) #56

add string to qa scripts (#240)

add string to qa scripts (#240) #56

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
workflow_dispatch:
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