mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-25 16:46:55 +08:00
ci: fix deploy announcement text
This commit is contained in:
parent
06a0699d65
commit
3825376c4c
2
.github/workflows/ci-cd.yml
vendored
2
.github/workflows/ci-cd.yml
vendored
@ -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 }}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user