forked from whisperfish/presage
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 862 Bytes
/
pages.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: target/doc
CLEAN: true # Automatically remove deleted files from the deploy branch