mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-15 19:48:04 +01:00
Update update-site.yml
This commit is contained in:
parent
7240c1a775
commit
a327834155
1 changed files with 9 additions and 9 deletions
16
.github/workflows/update-site.yml
vendored
16
.github/workflows/update-site.yml
vendored
|
@ -9,18 +9,18 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Rename readme files
|
||||
- name: Generate md
|
||||
run: ./scripts/update_site.sh
|
||||
|
||||
- name: Push to gh-pages branch
|
||||
run: |
|
||||
./scripts/update_site.sh
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.email 'action@github.com'
|
||||
git stash
|
||||
git checkout gh-pages
|
||||
rm -rf ./_widgets
|
||||
git stash pop
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue