From 82294db11d2cd5056a817209c5f3c3c283642d35 Mon Sep 17 00:00:00 2001 From: "florian.kain" Date: Fri, 14 Feb 2025 15:29:49 +0100 Subject: [PATCH] fix --- .github/workflows/deploy-to-environment.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-to-environment.yaml b/.github/workflows/deploy-to-environment.yaml index 3a595c6..278e03a 100644 --- a/.github/workflows/deploy-to-environment.yaml +++ b/.github/workflows/deploy-to-environment.yaml @@ -2,25 +2,21 @@ name: 'Deploy Pipeline' run-name: Deploy to AWS environments by @${{ github.actor }} on: - workflow_dispatch: + workflow_call: inputs: - # Deploy to development and test should only be to those environments. Staging deploys should succeed to test from before + # Deploy to development and test should only be to those environments. Staging deploys should succeed to test from before environment: description: "The environment to deploy to (e.g., development, test, staging)" required: true default: "development" - type: choice - options: - - development - - test - - staging - - production + type: string run_terraform_apply: description: "Run terraform apply?" required: true default: false type: boolean + permissions: # Allow repository checkout contents: read