Skip to content

Commit d3bbcce

Browse files
feat(ci): upgrade to upsteam preview-deploy action
1 parent ffdfdfa commit d3bbcce

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/preview-deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 'Preview: Deploy'
2+
3+
on:
4+
pull_request:
5+
branches: [ develop ]
6+
types: [ opened, reopened, synchronize ]
7+
push:
8+
branches: [ develop ]
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
permissions:
15+
contents: write
16+
packages: write
17+
18+
jobs:
19+
preview-deploy:
20+
runs-on: ubuntu-latest
21+
steps:
22+
23+
- uses: EmergencePlatform/php-runtime@github-actions/deploy-site-preview/develop
24+
id: deploy-site-preview
25+
with:
26+
github-token: ${{ secrets.GITHUB_TOKEN }}
27+
kube-config: ${{ secrets.KUBECONFIG_BASE64 }}
28+
kube-namespace: laddr
29+
kube-hostname: laddr.sandbox.k8s.phl.io

0 commit comments

Comments
 (0)