Skip to content

Migrate from AZDO to GitHub Actions #1

Migrate from AZDO to GitHub Actions

Migrate from AZDO to GitHub Actions #1

Workflow file for this run

name: Deploy demo-api
on:
pull_request:
branches: [master]
push:
branches: [master]
env:
APPLICATION_NAME: 'demo-api'
SYSTEM_NAME: 'core'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy-dev:
name: Deploy Dev
runs-on: elvia-runner
strategy:
matrix:
helm-values-file:
- '.github/deploy/values-demo-api-stable.yml'
- '.github/deploy/values-demo-api-progressive.yml'
permissions:
contents: read
id-token: write
environment: dev
steps:
- uses: 3lvia/core-github-actions-templates/deploy@trunk
with:
name: ${{ env.APPLICATION_NAME }}
namespace: ${{ env.SYSTEM_NAME }}
environment: 'dev'
AZURE_CLIENT_ID: ${{ vars.AKS_CLIENT_ID }}
helm-values-file: ${{ matrix.helm-values-file }}
helm-chart-repository-url: 'https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref }}'