File tree Expand file tree Collapse file tree 4 files changed +27
-273
lines changed
Expand file tree Collapse file tree 4 files changed +27
-273
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 88 branches : [ develop ]
99
1010concurrency :
11- group : ${{ github.workflow }} -${{ github.ref }}
11+ group : preview -${{ github.head_ref }}
1212 cancel-in-progress : true
1313
1414permissions :
1515 contents : write
1616 packages : write
17+ deployments : write
1718
1819jobs :
1920 preview-deploy :
Original file line number Diff line number Diff line change 1+ name : ' Preview: Destroy'
2+
3+ on :
4+ pull_request :
5+ branches : [ develop ]
6+ types : [ closed ]
7+
8+ concurrency :
9+ group : preview-${{ github.head_ref }}
10+ cancel-in-progress : true
11+
12+ permissions :
13+ deployments : write
14+
15+ jobs :
16+ preview-destroy :
17+ runs-on : ubuntu-latest
18+ steps :
19+
20+ - uses : EmergencePlatform/php-runtime@github-actions/destroy-site-preview/v1
21+ id : destroy-site-preview
22+ with :
23+ github-token : ${{ secrets.GITHUB_TOKEN }}
24+ kube-config : ${{ secrets.KUBECONFIG_BASE64 }}
25+ kube-namespace : laddr
You can’t perform that action at this time.
0 commit comments