Skip to content

Commit

Permalink
Revert to previous master codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronaldo Macapobre committed Aug 20, 2024
1 parent 50ab0bf commit 618d216
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/deploy-infra-dev.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 618d216

Please sign in to comment.