Make deploy on published GitHub release optional in examples/github-deploy.yml

This commit is contained in:
Yannick Jadoul
2020-06-08 15:50:38 +02:00
parent bb5aac3d69
commit cc8dbbe8b3
+6 -6
View File
@@ -1,11 +1,11 @@
name: Build and upload to PyPI name: Build and upload to PyPI
on: on: [push, pull_request]
- push # alternatively, to publish when a (published) GitHub Release is created, use the following:
- pull_request # on:
- release: # release:
types: # types:
- published # - published
jobs: jobs:
build_wheels: build_wheels: