diff options
Diffstat (limited to '.github/workflows/create_website_pr.yml')
| -rw-r--r-- | .github/workflows/create_website_pr.yml | 7 |
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: |
