Skip to content

Commit

Permalink
fix formatting of "deploy_script" section
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesdrotar committed Jul 5, 2017
1 parent 8356f84 commit 700f8e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions appveyor.yml
Expand Up @@ -63,10 +63,9 @@ deploy_script:
- echo "Starting Artifact Deployment"
# upload to pypi for windows
- set PATH=%BK_PATH%
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -And $env:APPVEYOR_REPO_BRANCH -eq "master") { Invoke-Expression "twine upload -u $env:PYPI_USERNAME -p $env:PYPI_PASSWORD --repository-url https://testpypi.python.org/pypi/ --skip-existing dist/*" } Else {
write-output "Not on a tag on master, won't deploy to pypi"}
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" -And $env:APPVEYOR_REPO_BRANCH -eq "master") { Invoke-Expression "twine upload -u $env:PYPI_USERNAME -p $env:PYPI_PASSWORD --repository-url https://testpypi.python.org/pypi/ --skip-existing dist/*" } Else { write-output "Not on a tag on master, won't deploy to pypi"}

notifications:
- provider: Slack
incoming_webhook:
secure: stqX4+SfLEUR48pEQRF3xUmeq8gtk5iE2aPlsTwws+HCntIKl+Ub5aoKvxKvwl6OoH5aBciLxwt9d5o3cJiimEsgX4sNs2/dm9PHPWakmcY=
secure: stqX4+SfLEUR48pEQRF3xUmeq8gtk5iE2aPlsTwws+HCntIKl+Ub5aoKvxKvwl6OoH5aBciLxwt9d5o3cJiimEsgX4sNs2/dm9PHPWakmcY=

0 comments on commit 700f8e1

Please sign in to comment.