summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/workflows/update-site.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/update-site.yml b/.github/workflows/update-site.yml
index 36db4a8..974997f 100755
--- a/.github/workflows/update-site.yml
+++ b/.github/workflows/update-site.yml
@@ -17,18 +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 add ./assets/img
git stash
git fetch
echo "git checkout gh-pages"
git checkout gh-pages
rm -rf ./_widgets
- rm -rf ./assets
+ rm -rf ./assets/img
ls -alF
echo "git stash pop"
git checkout stash -- ./_widgets
git add ./_widgets
- git add ./assets
+ git add ./assets/img
git commit -m "update from master"
git push origin gh-pages