diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 5db2171..a7e2ce7 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -27,6 +27,8 @@ jobs: id: login-ecr uses: aws-actions/amazon-ecr-login@v2 + - name: Load secrets to app.env + run: aws secretsmanager get-secret-value --secret-id gault_secrets --query SecretString --output text | jq -r 'to_entries|map("\(.key)=\(.value)")|.[]' > app.env - name: Build, tag, and push docker image to Amazon ECR env: REGISTRY: ${{ steps.login-ecr.outputs.registry }}