mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-13 21:39:59 +02:00
Update windows-build.yml
This commit is contained in:
4
.github/workflows/windows-build.yml
vendored
4
.github/workflows/windows-build.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user