Skip to content

Commit

Permalink
Only run publish.yml if new tag is created
Browse files Browse the repository at this point in the history
  • Loading branch information
crispyricepc committed Sep 1, 2021
1 parent 9a9eddf commit d805edb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish
on:
push:
branches: [releases]
tags:
- "*.*"

jobs:
build:
Expand All @@ -27,7 +28,6 @@ jobs:
needs:
- build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v2
Expand Down

0 comments on commit d805edb

Please sign in to comment.