diff --git a/.appveyor/afterDeploy.ps1 b/.appveyor/afterDeploy.ps1 index bea284bb..00a797ab 100644 --- a/.appveyor/afterDeploy.ps1 +++ b/.appveyor/afterDeploy.ps1 @@ -1,8 +1,10 @@ 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.name "VocaluxeBuildBot" 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 checkout - \ No newline at end of file +cd ..\Vocaluxe \ No newline at end of file