Do an empty commit to gh-pages branch after publishing artifacts to trigger a git hub pages build (fixes #277).
This commit is contained in:
1 parent
220a969ddb
commit
b33fe92e8a
2 files changed
+10
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
Write-Host "Deployment finished -> do en empty commit on the gh-pages branch to update the page"
|
||||||
|
git config --global user.email "noreply@vocaluxe.org"
|
||||||
|
git config --global user.name "VocaluxeBuildBot"
|
||||||
|
git checkout "gh-pages"
|
||||||
|
git reset --hard HEAD
|
||||||
|
git commit --allow-empty -m "Trigger page update after a new publish"
|
||||||
|
git push -q "https://$($Env:GitHubKey):x-oauth-basic@github.com/Vocaluxe/Vocaluxe.git" "gh-pages"
|
||||||
|
git checkout -
|
||||||
@@ -80,6 +80,8 @@ after_build:
|
|||||||
test: off
|
test: off
|
||||||
before_deploy:
|
before_deploy:
|
||||||
- ps: ./.appveyor/prepareDeploy.ps1
|
- ps: ./.appveyor/prepareDeploy.ps1
|
||||||
|
after_deploy:
|
||||||
|
- ps: ./.appveyor/afterDeploy.ps1
|
||||||
deploy:
|
deploy:
|
||||||
- provider: GitHub
|
- provider: GitHub
|
||||||
tag: $(APPVEYOR_REPO_TAG_NAME)
|
tag: $(APPVEYOR_REPO_TAG_NAME)
|
||||||
|
|||||||
Reference in new issue
Block a user