Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/previews-ods-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
permissions:
contents: read
pull-requests: write
statuses: write

steps:
- name: Checkout branch
Expand All @@ -39,6 +40,13 @@ jobs:
with:
version: v1.33.0

- name: Set pending status
uses: myrotvorets/set-commit-status-action@v2.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
context: Preview deployed
status: pending

- name: Set up Kustomize
uses: imranismail/setup-kustomize@v2

Expand Down Expand Up @@ -103,6 +111,15 @@ jobs:
**URL:** https://${{ steps.vars.outputs.branch }}.piveau-ln-preview.zazukoians.org/
**Note:** It may take a few minutes for the DNS to propagate, the certificate to be generated and the preview to be reachable.

- name: Final status check
uses: myrotvorets/set-commit-status-action@v2.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
context: Preview deployed
description: It may take a few minutes for the DNS to propagate, the certificate to be generated and the preview to be reachable.
status: success
targetUrl: https://${{ steps.vars.outputs.branch }}.piveau-ln-preview.zazukoians.org/

- name: Delete manifests
working-directory: ./opendata.swiss/ui/k8s
if: github.event.action == 'closed'
Expand Down