]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Fetch gh-pages before pushing to it 9367/head
authorSimon Cozens <simon@simon-cozens.org>
Tue, 22 Apr 2025 10:06:58 +0000 (11:06 +0100)
committerSimon Cozens <simon@simon-cozens.org>
Tue, 22 Apr 2025 10:06:58 +0000 (11:06 +0100)
.github/workflows/fontspectorall.yaml

index 5e64cf1615b3928dd519ff228014820a52908c76..ca5c1b96367e7087de9c39bff130a6ff6cde4ea2 100644 (file)
@@ -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: