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:
101
101
rolename : ' ${{ env.ROLE_NAME }}'
102
102
- name : Remove DNS record
103
103
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')
105
105
with :
106
106
name : " ${{ env.DOMAIN_NAME }}.${{ env.DOMAIN_SUFFIX }}"
107
107
token : " ${{ secrets.CLOUDFLARE_TOKEN }}"
108
108
zone : " ${{ secrets.CLOUDFLARE_ZONE }}"
109
109
- name : Remove DNS record for subdomain
110
110
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')
112
112
with :
113
113
name : " sub.${{ env.DOMAIN_NAME }}.${{ env.DOMAIN_SUFFIX }}"
114
114
token : " ${{ secrets.CLOUDFLARE_TOKEN }}"
115
115
zone : " ${{ secrets.CLOUDFLARE_ZONE }}"
116
116
- name : Remove Hetzner server
117
117
118
- if : always()
118
+ if : always() && !contains( github.event.pull_request.labels.*.name, 'action/keep-integration-stage')
119
119
with :
120
120
action : remove
121
121
server_id : " ${{ steps.setup_server.outputs.hcloud_server_id }}"
You can’t perform that action at this time.
0 commit comments