|
@ -61,10 +61,10 @@ after_deploy: |
|
|
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:gh_acct_user):$($env:gh_acct_pw)@github.com`n" |
|
|
Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:gh_acct_user):$($env:gh_acct_pw)@github.com`n" |
|
|
git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL |
|
|
git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL |
|
|
git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR |
|
|
git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR |
|
|
git clone "https://github.com/$($env:APPVEYOR_REPO_NAME).git" -b gh-pages origin_site -q |
|
|
|
|
|
|
|
|
git clone "https://github.com/$($env:APPVEYOR_REPO_NAME).git" -b gh-pages origin_site |
|
|
Move-Item origin_site/.git _site |
|
|
Move-Item origin_site/.git _site |
|
|
CD _site |
|
|
CD _site |
|
|
git add -A 2>&1 |
|
|
git add -A 2>&1 |
|
|
git commit -m "$env:APPVEYOR_REPO_COMMIT_MESSAGE -- Docs" -q |
|
|
|
|
|
git push origin gh-pages -q |
|
|
|
|
|
|
|
|
git commit -m "$env:APPVEYOR_REPO_COMMIT_MESSAGE -- Docs" |
|
|
|
|
|
git push origin gh-pages |
|
|
} |
|
|
} |