Skip to content

Test deploy

Test deploy #37

Workflow file for this run

name: Test deploy
on:
workflow_dispatch:
inputs:
target_env:
description: "Target environment"
required: true
type: choice
options:
- poc
env:
TARGET_ENV: ${{ inputs.target_env }}
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
id-token: write
environment: ${{ inputs.target_env }}
concurrency: deploy-${{ inputs.target_env }}-${{ github.ref }}
steps:
- name: Checkout code
uses: actions/checkout@v5
- uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
terraform_version: 1.11.4
- name: Terraform plan
run: make ${TARGET_ENV} ci terraform-apply