Skip to content

Commit

Permalink
build(ci): run workflow on default branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
aap01 committed Apr 4, 2024
1 parent 3381dc3 commit cf48a9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
deploy:
runs-on: self-hosted
environment: prod
if: github.ref_name == github.event.repository.default_branch
steps:
- uses: actions/checkout@v2
- name: Setup project credential and config
Expand Down

0 comments on commit cf48a9e

Please sign in to comment.