Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
surban committed May 11, 2018
1 parent c38677f commit 8970a08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Upload-Docs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ if ($env:APPVEYOR_REPO_BRANCH -ne "master") {
exit 0
}

Add-Content "$env:USERPROFILE.git-credentials" "https://$($env:GITHUB_TOKEN):x-oauth-basic@github.com`n"
git config --global credential.helper store
#Add-Content "$env:USERPROFILE.git-credentials" "https://$($env:GITHUB_TOKEN):x-oauth-basic@github.com`n"
#git config --global credential.helper store
git config --global user.name "Appveyor CI"
git config --global user.email "appveyor@surban.net"

git clone -b gh-pages https://github.com/surban/PLplotNet.git web_old
git clone -b gh-pages https://$($env:GITHUB_TOKEN)@github.com/surban/PLplotNet.git web_old
Move-Item $PSScriptRoot/Docs/_site web
Move-Item web_old/.git web

Expand Down

0 comments on commit 8970a08

Please sign in to comment.