GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: fix SCRATCH_ENV debug info in the deploy job · SnoopyMod/snoopymod-www@d3fedf5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci-cd.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci-cd.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-cd.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ jobs:
134134
runs-on: ubuntu-latest
135135
needs: [set-environment, build]
136136
environment: ${{ needs.set-environment.outputs.environment }}
137+
env:
138+
SCRATCH_ENV: ${{ needs.set-environment.outputs.environment }}
137139
if: ${{ needs.set-environment.outputs.should_deploy == 'true' }}
138140
steps:
139141
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
@@ -175,6 +177,7 @@ jobs:
175177
ls -lRh artifacts/
176178
tar -xavf artifacts/build.tar.zst
177179
- name: deploy
180+
# This also uses SCRATCH_ENV, defined at the job level
178181
run: npm run deploy
179182
env:
180183
S3_LOCAL_DIR: build
@@ -184,7 +187,6 @@ jobs:
184187
FASTLY_API_KEY: ${{ secrets.FASTLY_API_KEY }}
185188
FASTLY_SERVICE_ID: ${{ secrets.FASTLY_SERVICE_ID }}
186189
SCRATCH_BRANCH: ${{ github.ref_name }}
187-
SCRATCH_ENV: ${{ needs.set-environment.outputs.environment }}
188190
SLACK_WEBHOOK_CIRCLECI_NOTIFICATIONS: ${{ secrets.SLACK_WEBHOOK_CIRCLECI_NOTIFICATIONS }} # TODO: rename or replace
189191
SLACK_WEBHOOK_ENGINEERING: ${{ secrets.SLACK_WEBHOOK_ENGINEERING }}
190192
SLACK_WEBHOOK_MODS: ${{ secrets.SLACK_WEBHOOK_MODS }}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.