forked from whisperfish/libsignal-service-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 920 Bytes
/
pages.yaml
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
30
31
32
on:
push:
branches:
- main
name: Update GitHub Pages
env:
CARGO_INCREMENTAL: 0
jobs:
pages:
name: GitHub Pages
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 libsignal-service -p libsignal-protocol -p zkgroup -p libsignal-service-actix -p libsignal-service-hyper
- 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