Skip to content

GitHub Pages

GitHub Pages #156

Workflow file for this run

on:
push:
branches:
- main
name: GitHub Pages
jobs:
pages:
name: Update
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install protobuf
run: |
sudo apt-get update
sudo apt-get install -y libprotobuf-dev libprotobuf-c-dev protobuf-compiler protobuf-c-compiler
- uses: actions-rs/cargo@v1
with:
command: doc
args: --all-features --no-deps -p presage -p libsignal-service -p libsignal-service-hyper -p libsignal-protocol -p zkgroup
- uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: target/doc
CLEAN: true # Automatically remove deleted files from the deploy branch