Skip to content

Merge pull request #169 from byllyfish/ci #91

Merge pull request #169 from byllyfish/ci

Merge pull request #169 from byllyfish/ci #91

Workflow file for this run

name: Docs
on:
push:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
publish-docs:
permissions:
contents: write # for peaceiris/actions-gh-pages to push pages branch
runs-on: ubuntu-20.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Install dependencies (Linux)
run: sudo apt-get -y install libacl1-dev
- name: Build Docs
run: ./ci/docs.sh
- name: Publish Docs to Github Pages
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc