Skip to content

Commit

Permalink
fix: include dd secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin9foong committed Dec 4, 2024
1 parent eff1bfa commit 3f1f1dc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ jobs:
# need this for the frontend build env vars
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup secrets for datadog sourcemap deployment
run: |
echo "APP_VERSION=$(jq -r .version package.json)-$(echo ${GITHUB_REF##*/})-$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_ENV
Expand Down Expand Up @@ -87,8 +85,12 @@ jobs:
tags: |
${{ steps.login-ecr.outputs.registry }}/formsg/staging-alt3:${{ env.IMAGE_TAG }}
${{ steps.login-ecr.outputs.registry }}/formsg/staging-alt3:latest
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
APP_VERSION=${{env.APP_VERSION}}
APP_URL=${{secrets.APP_URL}}
REPO_URL=${{github.server_url}}/${{github.repository}}
secrets: |
"dd_api_key=${{ secrets.DD_API_KEY }}"
# - name: Update ECS service
# run: |
# aws ecs update-service \
Expand Down

0 comments on commit 3f1f1dc

Please sign in to comment.