Fetch gh-pages before pushing to it
This commit is contained in:
2
.github/workflows/fontspectorall.yaml
vendored
2
.github/workflows/fontspectorall.yaml
vendored
@@ -37,7 +37,7 @@ jobs:
|
||||
- name: Stash database again
|
||||
run: "scp -i ../private.key fontspector.db fontspector@corvelsoftware.co.uk:"
|
||||
- name: Add to branch
|
||||
run: git checkout gh-pages; git rm -rf fontspector-dashboard || true; rm -rf fontspector-dashboard || true; mv fontspector-dashboard-build fontspector-dashboard
|
||||
run: git fetch origin gh-pages; git checkout gh-pages; git rm -rf fontspector-dashboard || true; rm -rf fontspector-dashboard || true; mv fontspector-dashboard-build fontspector-dashboard
|
||||
- name: Upload results
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user