diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 080a61260..305c8db21 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -610,9 +610,11 @@ jobs: - name: Commit and push to gh-pages run: | 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.email "github-actions[bot]@users.noreply.github.com" - git add index.html + git add .nojekyll index.html git diff --staged --quiet \ || git commit -m "nightly: build #${{ github.run_number }} (${{ github.sha }})" git push origin gh-pages