summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2022-01-23 14:57:13 -0500
committerGitHub <noreply@github.com>2022-01-23 14:57:13 -0500
commit7240c1a775739e012f8ec730a81bdcf334e01f96 (patch)
tree0129a6aa989ed79ec72874d70be192f488eec6a0
parent7f36b419b5177b74c44c392c4e0cbbe6f55f4d5e (diff)
Update update-site.yml
-rwxr-xr-x.github/workflows/update-site.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/update-site.yml b/.github/workflows/update-site.yml
index 4cee720..e7e8b09 100755
--- a/.github/workflows/update-site.yml
+++ b/.github/workflows/update-site.yml
@@ -9,5 +9,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Rename readme file
- run: ./scripts/update_site.sh
+ - name: Rename readme files
+ run: |
+ ./scripts/update_site.sh
+ git config --global user.name 'GitHub Action'
+ git config --global user.email 'action@github.com'
+ git add ./_widgets
+ git commit -m "update from master"
+ git fetch
+ git checkout gh-pages
+ git merge master
+ git checkout master
+ git reset --hard HEAD~3 # Go back 3 commits. You *will* lose uncommitted work.
+ git checkout gh-pages
+ git push origin gh-pages
+