Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Jan 16, 2025
1 parent 1cf98b7 commit b0deb95
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,18 @@ concurrency:
cancel-in-progress: false

jobs:
deploy-to-aws-dev:
name: Deploys Application to AWS dev
uses: ./.github/workflows/.deploy-app.yml
with:
app_env: dev
command: apply
environment_name: dev
tag: ${{ inputs.tag }}
secrets: inherit
### just for testing, remove this job
# deploy-to-aws-dev:
# name: Deploys Application to AWS dev
# uses: ./.github/workflows/.deploy-app.yml
# with:
# app_env: dev
# command: apply
# environment_name: dev
# tag: ${{ inputs.tag }}
# secrets: inherit
fta-migration:
name: FTA Migration
uses: ./.github/workflows/fta-migration.yml
uses: ./.github/workflows/.fta-migration.yml
with:
tag: ${{ inputs.tag }}
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/fta-migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,19 @@ on:
required: true

jobs:
deploy-api:
name: Deploys API
uses: ./.github/workflows/.aws-deployer.yml
with:
environment_name: dev
command: apply
working_directory: api
tag: ${{ inputs.tag }}
app_env: dev
secrets: inherit
run-fta-dev-migration:
name: Deploys API
needs: [deploy-api]
uses: ./.github/workflows/.aws-deployer.yml
with:
environment_name: dev
Expand Down

0 comments on commit b0deb95

Please sign in to comment.