This repository was archived by the owner on May 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,21 +103,21 @@ jobs:
103103 rolename : ' ${{ env.ROLE_NAME }}'
104104 - name : Remove DNS record
105105 uses : saitho/delete-dns-record@saitho-patch-1
106- if : always()
106+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
107107 with :
108108 name : " ${{ env.DOMAIN_NAME }}.${{ env.DOMAIN_SUFFIX }}"
109109 token : " ${{ secrets.CLOUDFLARE_TOKEN }}"
110110 zone : " ${{ secrets.CLOUDFLARE_ZONE }}"
111111 - name : Remove DNS record for subdomain
112112 uses : saitho/delete-dns-record@saitho-patch-1
113- if : always()
113+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
114114 with :
115115 name : " sub.${{ env.DOMAIN_NAME }}.${{ env.DOMAIN_SUFFIX }}"
116116 token : " ${{ secrets.CLOUDFLARE_TOKEN }}"
117117 zone : " ${{ secrets.CLOUDFLARE_ZONE }}"
118118 - name : Remove Hetzner server
119119 uses : saitho/hetzner-cloud-action@v1.1.0
120- if : always()
120+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
121121 with :
122122 action : remove
123123 server_id : " ${{ steps.setup_server.outputs.hcloud_server_id }}"
You can’t perform that action at this time.
0 commit comments