Merge pull request #299 from whisperfish/handle-pni-uuid #238
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: target/doc | |
CLEAN: true # Automatically remove deleted files from the deploy branch |