Skip to content

ci(data-layer): pass TRIGGER_PROJECT_REF to trigger deploy#18107

Merged
pettinarip merged 1 commit into
stagingfrom
fix/trigger-deploy-project-ref
May 1, 2026
Merged

ci(data-layer): pass TRIGGER_PROJECT_REF to trigger deploy#18107
pettinarip merged 1 commit into
stagingfrom
fix/trigger-deploy-project-ref

Conversation

@pettinarip
Copy link
Copy Markdown
Member

@pettinarip pettinarip commented May 1, 2026

Summary

The Deploy Data Layer job has failed on every run since it was added (Apr 13, Apr 17, Apr 24 — including the most recent weekly release in #18104) with:

✘ [ERROR] Project not found: undefined. Ensure you are using the correct project ref and CLI profile

trigger.config.ts:9 reads the project ref from process.env.TRIGGER_PROJECT_REF, but the workflow only forwarded TRIGGER_ACCESS_TOKEN. The CLI saw undefined and bailed.

This wires TRIGGER_PROJECT_REF (already configured as a GitHub Actions secret) into the deploy step's env, mirroring how TRIGGER_ACCESS_TOKEN is passed.

Test plan

  • Confirm TRIGGER_PROJECT_REF secret is set at the repo / org level so it's available to this workflow.
  • After merge to master, watch the next push that touches src/data-layer/**, trigger.config.ts, or package.json and verify the Deploy Data Layer job goes green.

trigger.config.ts reads process.env.TRIGGER_PROJECT_REF, but the
workflow only forwarded TRIGGER_ACCESS_TOKEN, so deploys failed with
"Project not found: undefined" on every run since the workflow was
added.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 1, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit ba78141
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69f494019e7fa100087c8748
😎 Deploy Preview https://deploy-preview-18107.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 66 (🟢 up 12 from production)
Accessibility: 96 (🟢 up 3 from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the tooling 🔧 Changes related to tooling of the project label May 1, 2026
@pettinarip pettinarip merged commit ddd73ff into staging May 1, 2026
10 of 11 checks passed
@pettinarip pettinarip deleted the fix/trigger-deploy-project-ref branch May 1, 2026 11:54
@pettinarip pettinarip mentioned this pull request May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling 🔧 Changes related to tooling of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant