From b1d20df59bec2667972b979535b45f2ca0711f53 Mon Sep 17 00:00:00 2001 From: streetturtle Date: Sun, 23 Jan 2022 19:24:03 -0500 Subject: Update update-site.yml --- .github/workflows/update-site.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-site.yml b/.github/workflows/update-site.yml index c95b1d8..36db4a8 100755 --- a/.github/workflows/update-site.yml +++ b/.github/workflows/update-site.yml @@ -17,17 +17,18 @@ jobs: git config --global user.name 'GitHub Action' git config --global user.email 'action@github.com' git add ./_widgets + git add ./assets git stash git fetch echo "git checkout gh-pages" git checkout gh-pages - echo "rm -rf ./_widgets" rm -rf ./_widgets + rm -rf ./assets ls -alF echo "git stash pop" git checkout stash -- ./_widgets - echo "git add ./_widgets" git add ./_widgets + git add ./assets git commit -m "update from master" git push origin gh-pages -- cgit v1.2.3