Update windows-build.yml

This commit is contained in:
Laurent Trinques
2026-05-13 00:08:18 +02:00
committed by GitHub
parent 1b522c251b
commit 61319bbbd6

View File

@@ -610,9 +610,11 @@ jobs:
- name: Commit and push to gh-pages - name: Commit and push to gh-pages
run: | run: |
cd gh-pages cd gh-pages
# Disable Jekyll so GitHub Pages serves index.html as-is
touch .nojekyll
git config user.name "github-actions[bot]" git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com" git config user.email "github-actions[bot]@users.noreply.github.com"
git add index.html git add .nojekyll index.html
git diff --staged --quiet \ git diff --staged --quiet \
|| git commit -m "nightly: build #${{ github.run_number }} (${{ github.sha }})" || git commit -m "nightly: build #${{ github.run_number }} (${{ github.sha }})"
git push origin gh-pages git push origin gh-pages