Merge pull request #287 from lukeIam/develop
Fix: Triggering a github pages update fails
This commit is contained in:
commit
10c3cebc2e
1 file changed
+5
-3
@@ -1,8 +1,10 @@
|
|||||||
Write-Host "Deployment finished -> do en empty commit on the gh-pages branch to update the page"
|
Write-Host "Deployment finished -> do en empty commit on the gh-pages branch to update the page"
|
||||||
|
cd ..
|
||||||
|
git clone "https://github.com/Vocaluxe/Vocaluxe.git" -b "gh-pages" --single-branch "VocaluxeWeb"
|
||||||
|
cd VocaluxeWeb
|
||||||
git config --global user.email "noreply@vocaluxe.org"
|
git config --global user.email "noreply@vocaluxe.org"
|
||||||
git config --global user.name "VocaluxeBuildBot"
|
git config --global user.name "VocaluxeBuildBot"
|
||||||
git checkout "gh-pages"
|
git checkout "gh-pages"
|
||||||
git reset --hard HEAD
|
git commit --allow-empty -m "Trigger page update after a new publish (triggered by $Env:APPVEYOR_REPO_COMMIT_MESSAGE [$Env:APPVEYOR_REPO_COMMIT])"
|
||||||
git commit --allow-empty -m "Trigger page update after a new publish (triggered by $Env:APPVEYOR_REPO_COMMIT_MESSAGE ($Env:APPVEYOR_REPO_COMMIT))"
|
|
||||||
git push -q "https://$($Env:GitHubKey):x-oauth-basic@github.com/Vocaluxe/Vocaluxe.git" "gh-pages"
|
git push -q "https://$($Env:GitHubKey):x-oauth-basic@github.com/Vocaluxe/Vocaluxe.git" "gh-pages"
|
||||||
git checkout -
|
cd ..\Vocaluxe
|
||||||
Reference in new issue
Block a user