Skip to content

Commit

Permalink
ci: fix gh action undeploy step triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
petarpeshev authored and mmpetarpeshev committed Jan 27, 2025
1 parent 50bb476 commit 01b6c56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/staging-docker-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ jobs:
app: ${{ env.APP }}

- name: Staging undeploy
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v4
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v5
with:
url-prefix: pr-${{ env.PR_NUMBER }}
env: ${{ env.ENV }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/staging-docker-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ jobs:
app: ${{ env.APP }}

- name: Staging undeploy
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v4
if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && startsWith(github.head_ref, 'release') != true
uses: aeternity/ae-github-actions/argocd-undeploy@v5
with:
url-prefix: pr-${{ env.PR_NUMBER }}
env: ${{ env.ENV }}
Expand Down

0 comments on commit 01b6c56

Please sign in to comment.