Skip to content

Commit

Permalink
ci: specify branch to deploy production from
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Jun 19, 2024
1 parent d66bce7 commit 38fe34a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/comment-and-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ on:
jobs:
comment-and-close:
uses: dhis2/workflows-test/.github/workflows/comment-and-close.yml@main
if: !contains(github.event.issues.sender.login , fromJson('["dhis2-bot", "kodiakhq", "dependabot"]'))
if: '!contains(github.event.issues.sender.login, fromJson('["dhis2-bot", "kodiakhq", "dependabot"]'))'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ concurrency:
jobs:
deploy:
uses: dhis2/workflows-test/.github/workflows/deploy-pr.yml@main
if: '!github.event.pull_request.repository.fork'
if: '!github.event.pull_request.head.repo.fork'
secrets: inherit
2 changes: 2 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ jobs:
deploy:
uses: dhis2/workflows-test/.github/workflows/deploy-production.yml@main
secrets: inherit
with:
branch: master

0 comments on commit 38fe34a

Please sign in to comment.