File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 16
16
preview :
17
17
runs-on : ubuntu-latest
18
18
19
- permissions :
20
- contents : read
21
- pull-requests : write
22
-
23
19
steps :
24
20
- name : Checkout branch
25
21
if : github.event.action != 'closed'
39
35
with :
40
36
version : v1.33.0
41
37
38
+ - name : Set pending status
39
+ uses : myrotvorets/set-commit-status-action@v2.0.1
40
+ with :
41
+ token : ${{ secrets.GITHUB_TOKEN }}
42
+ context : Preview deployed
43
+ status : pending
44
+
42
45
- name : Set up Kustomize
43
46
uses : imranismail/setup-kustomize@v2
44
47
@@ -103,6 +106,14 @@ jobs:
103
106
**URL:** https://${{ steps.vars.outputs.branch }}.piveau-ln-preview.zazukoians.org/
104
107
**Note:** It may take a few minutes for the DNS to propagate, the certificate to be generated and the preview to be reachable.
105
108
109
+ - name : Final status check
110
+ uses : myrotvorets/set-commit-status-action@v2.0.1
111
+ with :
112
+ token : ${{ secrets.GITHUB_TOKEN }}
113
+ context : Preview deployed
114
+ status : success
115
+ targetUrl : https://${{ steps.vars.outputs.branch }}.piveau-ln-preview.zazukoians.org/
116
+
106
117
- name : Delete manifests
107
118
working-directory : ./opendata.swiss/ui/k8s
108
119
if : github.event.action == 'closed'
You can’t perform that action at this time.
0 commit comments