diff --git a/.github/workflows/deploy-infra-dev.yml b/.github/workflows/deploy-infra-dev.yml index fac39787..c8b37f00 100644 --- a/.github/workflows/deploy-infra-dev.yml +++ b/.github/workflows/deploy-infra-dev.yml @@ -1,35 +1,13 @@ -name: Publish Infra +name: Deploy AWS Infra to Dev 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: + infrastructure_deploy_dev: uses: ./.github/workflows/aws-template-terraform.yml with: - # CONTEXT_FOLDER: "./infrastructure/cloud/environments/${{ inputs.environment }}" - # CHANGE_FOLDER_NAME: environments/${{ inputs.environment }} - # ENVIRONMENT_NAME: ${{ inputs.environment }} - # TEST_BUCKET_NAME: jasper-test-bucket - CONTEXT_FOLDER: "./infrastructure/cloud/environments/dev" + CONTEXT_FOLDER: ./infrastructure/cloud/environments/dev CHANGE_FOLDER_NAME: environments/dev ENVIRONMENT_NAME: dev TEST_BUCKET_NAME: jasper-test-bucket