Add advisory for sequoia-openpgp (#1696) #889
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
name: Publish Web | |
on: | |
push: | |
branches: main | |
jobs: | |
publish-web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: gh-pages | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cargo/bin | |
key: rustsec-admin-v0.8.5 | |
- run: | | |
VERSION="0.8.5" | |
if ! ( rustsec-admin --version | grep -q "$VERSION" ); then | |
cargo install rustsec-admin --force --vers "$VERSION" | |
fi | |
rustsec-admin web . | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add . | |
git commit -m "Update gh-pages" || true | |
git push || true |