Skip to content

Commit

Permalink
ci: publish listen to publish event
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed May 22, 2020
1 parent 2f0bf23 commit ea5aeaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ name: Publish

on:
release:
types: [released]
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
if: "!github.event.release.draft && !github.event.release.prerelease"
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit ea5aeaf

Please sign in to comment.