Skip to content

Commit

Permalink
Restore github deployment for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Klug committed Aug 10, 2018
1 parent 9bde2ad commit a17a559
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ deploy:
on:
appveyor_repo_tag: true # deploy on tag push only

deploy_script:
#use after_deploy instead of deploy_script as deploy_script disables the default deployment providers
after_deploy:
- echo "Starting Artifact Deployment"
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true") { Invoke-Expression "$env:PYTHON\\Scripts\\twine upload --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
- echo "Finished Artifact Deployment"

0 comments on commit a17a559

Please sign in to comment.