Skip to content

.github/workflows/deploy-infra-dev.yml #16

.github/workflows/deploy-infra-dev.yml

.github/workflows/deploy-infra-dev.yml #16

name: Publish Infra
on:
# PR targeting master is created or new commits are pushed
push:
branches:
- master
paths:
- "infrastructure/**"
# Manual trigger via GH Actions UI
workflow_dispatch:
inputs:
environment:
description: "Select target environment"
required: true
default: "dev"
type: choice
options:
- dev
- test
- prod
jobs:
deploy:
uses: ./.github/workflows/aws-template-terraform.yml

Check failure on line 26 in .github/workflows/deploy-infra-dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-infra-dev.yml

Invalid workflow file

error parsing called workflow ".github/workflows/deploy-infra-dev.yml" -> "./.github/workflows/aws-template-terraform.yml" (source branch with sha:bc064da83fcf45424895388d2af4ff9f6378798a) : the `uses' attribute must be a path, a Docker image, or owner/repo@ref
with:
CONTEXT_FOLDER: "./infrastructure/cloud/environments/${{ inputs.environment }}"
CHANGE_FOLDER_NAME: environments/${{ inputs.environment }}
ENVIRONMENT_NAME: ${{ inputs.environment }}
TEST_BUCKET_NAME: jasper-test-bucket
secrets: inherit