Skip to content

chore(refresh): common function for fetching backend url (#1526) #6

chore(refresh): common function for fetching backend url (#1526)

chore(refresh): common function for fetching backend url (#1526) #6

Workflow file for this run

name: cd/frontend
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "next-tavla/**"
jobs:
docker-push:
uses: entur/gha-docker/.github/workflows/[email protected]
with:
environment: prd
context: next-tavla
image_tag: frontend
helm-deploy-dev:
needs: [docker-push]
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: dev
chart: next-tavla/helm/tavla
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}
approval-step:
runs-on: ubuntu-24.04
needs: [helm-deploy-dev]
environment: apr
steps:
- name: Approval step
id: approval
shell: bash
run: echo "Approve the deployment to prod"
helm-deploy-prd:
needs: [docker-push, approval-step]
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: prd
chart: next-tavla/helm/tavla
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}