Skip to content

Commit

Permalink
fix: only run deploy action if labeled release (#2139)
Browse files Browse the repository at this point in the history
Currently, the deploy workflow will still run on every push to main.
This, hopefully, will change this to only run for pushes to main that is labelled `release`

fix #2138
  • Loading branch information
Schalk Neethling committed May 14, 2022
1 parent c089a64 commit c2b8638
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- main

jobs:
if: github.event.label.name == 'release'
build:
runs-on: ubuntu-latest

Expand Down

0 comments on commit c2b8638

Please sign in to comment.