diff --git a/.github/workflows/staging-docker-mainnet.yml b/.github/workflows/staging-docker-mainnet.yml index df91988..cc1a53a 100644 --- a/.github/workflows/staging-docker-mainnet.yml +++ b/.github/workflows/staging-docker-mainnet.yml @@ -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 }} diff --git a/.github/workflows/staging-docker-testnet.yml b/.github/workflows/staging-docker-testnet.yml index 208d047..eab44f3 100644 --- a/.github/workflows/staging-docker-testnet.yml +++ b/.github/workflows/staging-docker-testnet.yml @@ -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 }}