Skip to content

ci: Inline Cloudflare Pages project name - #28

Merged
DaveSkender merged 2 commits into
mainfrom
ci/inline-cloudflare-project-name
Jul 27, 2026
Merged

ci: Inline Cloudflare Pages project name#28
DaveSkender merged 2 commits into
mainfrom
ci/inline-cloudflare-project-name

Conversation

@DaveSkender

Copy link
Copy Markdown
Member

Org-wide consistency cleanup: retire vars.CLOUDFLARE_PROJECT_NAME in favour of the literal project name, matching facioquo/schemas deploy.yml (--project-name=schemas).

Why: the variable was defined only at environment scope, so it resolves to an empty string in any job that runs under a different environment — and an empty --project-name fails at deploy time rather than at lint time. Two sibling repos hit exactly this while adding PR preview deployments. The value is a stable, non-secret identifier, so the indirection buys nothing.

No change to what gets deployed or where — the inlined value is the same one the environment variable already supplied.

Follow-up

Once this merges, the now-unused CLOUDFLARE_PROJECT_NAME variable can be deleted from this repo's environment settings. It has no other references in the repo.

Replace vars.CLOUDFLARE_PROJECT_NAME with the literal project name the
workflow already deploys to. The variable was scoped to a single
environment, so it silently resolves to empty in any other environment.
Matches facioquo/schemas deploy.yml.
@facioquoqa

facioquoqa Bot commented Jul 27, 2026

Copy link
Copy Markdown

:neckbeard: FaciōQuōqa Mage automatic code review is disabled in your mage.yml

  • Trigger review

Select the environment from github.ref rather than the event type, so a
workflow_dispatch off a feature branch resolves to preview instead of
production. Production is only reached from the default branch.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploying stock-indicators with  Cloudflare Pages  Cloudflare Pages

Latest commit: 20e4c4f
Status: ✅  Deploy successful!
Preview URL: https://839b4590.stock-indicators.pages.dev
Branch Preview URL: https://ci-inline-cloudflare-project.stock-indicators.pages.dev

View logs

@DaveSkender
DaveSkender merged commit 176e232 into main Jul 27, 2026
2 checks passed
@DaveSkender
DaveSkender deleted the ci/inline-cloudflare-project-name branch July 27, 2026 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant