mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-30 08:13:58 +01:00
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:
8
.github/workflows/publish-web.yml
vendored
8
.github/workflows/publish-web.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user