publish-web fix (#755)

Uses the flow suggested here:

https://github.com/actions/checkout#push-a-commit-using-the-built-in-token
This commit is contained in:
Tony Arcieri
2021-02-04 13:12:34 -08:00
committed by GitHub
parent 67b958f393
commit 79c2677cfa

View File

@@ -19,5 +19,9 @@ jobs:
if [ ! -f $HOME/.cargo/bin/rustsec-admin ]; then
cargo install rustsec-admin --vers 0.3.4
fi
- run: rustsec-admin web
- run: git commit -m "Update gh-pages" && git push || true
rustsec-admin web
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Update gh-pages" || true
git push || true