Skip to content

Merge pull request #227 from byllyfish/fixes #114

Merge pull request #227 from byllyfish/fixes

Merge pull request #227 from byllyfish/fixes #114

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@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc