summaryrefslogtreecommitdiff
path: root/.github/workflows/create_website_pr.yml
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-10-14 20:16:59 -0700
committerScott Shawcroft <scott@tannewt.org>2019-10-14 20:16:59 -0700
commit6aad70b109f12315143d1a0337895b735bc84516 (patch)
tree4b126b6515f452f97f0ef8c123f4c298c696f911 /.github/workflows/create_website_pr.yml
parent5971794e5464d166379278c8dcbda0ebb3cc23d5 (diff)
Switch to the new release event type filter
Fixes #2201
Diffstat (limited to '.github/workflows/create_website_pr.yml')
-rw-r--r--.github/workflows/create_website_pr.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/create_website_pr.yml b/.github/workflows/create_website_pr.yml
index ce9323702..69ca8f12b 100644
--- a/.github/workflows/create_website_pr.yml
+++ b/.github/workflows/create_website_pr.yml
@@ -1,6 +1,8 @@
name: Update CircuitPython.org
-on: release
+on:
+ release:
+ types: [published]
jobs:
website:
@@ -10,9 +12,6 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- - name: Fail if not a release publish # workaround has `on` doesn't have this filter
- run: exit 1
- if: github.event.action != 'published'
- name: Set up Python 3.5
uses: actions/setup-python@v1
with: