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 @@ -101,21 +101,21 @@ jobs:
101101 rolename : ' ${{ env.ROLE_NAME }}'
102102 - name : Remove DNS record
103103 uses : saitho/delete-dns-record@saitho-patch-1
104- if : always()
104+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
105105 with :
106106 name : " ${{ env.DOMAIN_NAME }}.${{ env.DOMAIN_SUFFIX }}"
107107 token : " ${{ secrets.CLOUDFLARE_TOKEN }}"
108108 zone : " ${{ secrets.CLOUDFLARE_ZONE }}"
109109 - name : Remove DNS record for subdomain
110110 uses : saitho/delete-dns-record@saitho-patch-1
111- if : always()
111+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
112112 with :
113113 name : " sub.${{ env.DOMAIN_NAME }}.${{ env.DOMAIN_SUFFIX }}"
114114 token : " ${{ secrets.CLOUDFLARE_TOKEN }}"
115115 zone : " ${{ secrets.CLOUDFLARE_ZONE }}"
116116 - name : Remove Hetzner server
117117 uses : saitho/hetzner-cloud-action@v1.1.0
118- if : always()
118+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
119119 with :
120120 action : remove
121121 server_id : " ${{ steps.setup_server.outputs.hcloud_server_id }}"
You can’t perform that action at this time.
0 commit comments