diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index bc25784cc..7617da51c 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -94,6 +94,8 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} FASTLY_API_KEY: ${{ secrets.FASTLY_API_KEY }} FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }} + SCRATCH_BRANCH: ${{ github.ref_name }} + SCRATCH_ENV: ${{ vars.SCRATCH_ENV }} SLACK_WEBHOOK_CIRCLECI_NOTIFICATIONS: ${{ secrets.SLACK_WEBHOOK_CIRCLECI_NOTIFICATIONS }} # TODO: rename or replace SLACK_WEBHOOK_ENGINEERING: ${{ secrets.SLACK_WEBHOOK_ENGINEERING }} SLACK_WEBHOOK_MODS: ${{ secrets.SLACK_WEBHOOK_MODS }} diff --git a/bin/announce.js b/bin/announce.js index c070b7e0d..671f0183c 100644 --- a/bin/announce.js +++ b/bin/announce.js @@ -4,7 +4,7 @@ const https = require('https'); const environment = process.env.SCRATCH_ENV || 'unknown environment'; -const branch = process.env.CIRCLE_BRANCH || 'unknown branch'; +const branch = process.env.SCRATCH_BRANCH || 'unknown branch'; const urlEng = process.env.SLACK_WEBHOOK_ENGINEERING; const urlMod = process.env.SLACK_WEBHOOK_MODS;