Skip to content

Whoops, I don't think a test feature flag exists (#895) #151

Whoops, I don't think a test feature flag exists (#895)

Whoops, I don't think a test feature flag exists (#895) #151

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- name: Install and build mdbook
run: |
mkdir -p mdbook-linkcheck && cd "$_" && \
curl -Ls https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases/latest/download/mdbook-linkcheck.x86_64-unknown-linux-gnu.zip -o mdbook-linkcheck.zip && \
unzip "$_" && \
chmod +x mdbook-linkcheck && \
export PATH=$PWD:$PATH && \
cd .. && \
./tools/build-doc
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: doc/book/html # The folder the action should deploy.
clean: true # Automatically remove deleted files from the deploy branch