Skip to content

Commit

Permalink
ci(engine): Add missing cdk stack env vars to GH action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
topher-lo committed Mar 17, 2024
1 parent a8a8f95 commit 95dff48
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-aws-cdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Deploy Tracecat to AWS

on:
workflow_dispatch:
inputs:
app_env:
description: "App Environment"
required: false
default: "dev"

jobs:
deploy:
Expand All @@ -12,7 +17,10 @@ jobs:
id-token: write # This line allows GitHub Actions to request an OIDC token
contents: read
env:
TRACECAT__APP_ENV: prod
TRACECAT__APP_ENV: ${{ github.event.inputs.app_env }}
AWS_ROUTE53__HOSTED_ZONE_ID: ${{ secrets.AWS_ROUTE53__HOSTED_ZONE_ID }}
AWS_ROUTE53__HOSTED_ZONE_NAME: ${{ secrets.AWS_ROUTE53__HOSTED_ZONE_NAME }}
AWS_ACM__CERTIFICATE_ARN: ${{ secrets.AWS_ACM__CERTIFICATE_ARN }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down

0 comments on commit 95dff48

Please sign in to comment.