Update update-site.yml
This commit is contained in:
parent
b1d20df59b
commit
b96ebec107
|
@ -17,18 +17,18 @@ jobs:
|
||||||
git config --global user.name 'GitHub Action'
|
git config --global user.name 'GitHub Action'
|
||||||
git config --global user.email 'action@github.com'
|
git config --global user.email 'action@github.com'
|
||||||
git add ./_widgets
|
git add ./_widgets
|
||||||
git add ./assets
|
git add ./assets/img
|
||||||
git stash
|
git stash
|
||||||
git fetch
|
git fetch
|
||||||
echo "git checkout gh-pages"
|
echo "git checkout gh-pages"
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
rm -rf ./_widgets
|
rm -rf ./_widgets
|
||||||
rm -rf ./assets
|
rm -rf ./assets/img
|
||||||
ls -alF
|
ls -alF
|
||||||
echo "git stash pop"
|
echo "git stash pop"
|
||||||
git checkout stash -- ./_widgets
|
git checkout stash -- ./_widgets
|
||||||
git add ./_widgets
|
git add ./_widgets
|
||||||
git add ./assets
|
git add ./assets/img
|
||||||
git commit -m "update from master"
|
git commit -m "update from master"
|
||||||
git push origin gh-pages
|
git push origin gh-pages
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue