From 79c2677cfae74ac7aeb3a616eee33c7c1e1fafd7 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Thu, 4 Feb 2021 13:12:34 -0800 Subject: [PATCH] `publish-web` fix (#755) Uses the flow suggested here: https://github.com/actions/checkout#push-a-commit-using-the-built-in-token --- .github/workflows/publish-web.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-web.yml b/.github/workflows/publish-web.yml index ee8c110..8434b50 100644 --- a/.github/workflows/publish-web.yml +++ b/.github/workflows/publish-web.yml @@ -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