Skip to content

Commit

Permalink
fix: need to set env variables in taskdef
Browse files Browse the repository at this point in the history
  • Loading branch information
birme committed Jun 16, 2024
1 parent 4eab4ec commit 5d497a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ jobs:
task-definition: ${{ env.ECS_DEV_TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:sha-${{ steps.short-sha.outputs.sha }}
environment-variables: |
SMB_ADDRESS=${{ secrets.DEV_SMB_ADDRESS }}
SMB_APIKEY=${{ secrets.DEV_SMB_APIKEY }}
MONGODB_CONNECTION_STRING=${{ secrets.DEV_MONGODB_CONNECTION_STRING }}
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
Expand Down

0 comments on commit 5d497a5

Please sign in to comment.