Skip to content

Commit d7f3112

Browse files
Merge pull request #268 from CodeForPhilly/develop
Release: v3.2.7
2 parents 52fb921 + 10170e6 commit d7f3112

File tree

4 files changed

+27
-273
lines changed

4 files changed

+27
-273
lines changed

.github/workflows/k8s-deploy.yml

Lines changed: 0 additions & 234 deletions
This file was deleted.

.github/workflows/k8s-destroy.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/preview-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ on:
88
branches: [ develop ]
99

1010
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
11+
group: preview-${{ github.head_ref }}
1212
cancel-in-progress: true
1313

1414
permissions:
1515
contents: write
1616
packages: write
17+
deployments: write
1718

1819
jobs:
1920
preview-deploy:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

0 commit comments

Comments
 (0)