Skip to content

refactor: use cf and deploy previews - #55

Merged
ematipico merged 4 commits into
mainfrom
refactor/use-cf
Oct 20, 2026
Merged

ematipico merged 4 commits into
mainfrom
refactor/use-cf

Conversation

@ematipico

Copy link
Copy Markdown
Collaborator
  • Uses the latest beta of @astrojs/cloudflare so that we can start using cf to deploy the website
  • Adds proper e2e tests to the website
  • Adds a job to preview the website when there's a PR to change the website

@pkg-pr-new

pkg-pr-new Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/cloudflare/forge/@cloudflare/forge@55

commit: 57666d8

@cloudflare cloudflare deleted a comment from github-actions Bot Oct 20, 2026

@petebacondarwin petebacondarwin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread .github/workflows/deploy-docs.yml Outdated
Comment thread .github/workflows/deploy-docs.yml Outdated
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CF_SEND_TELEMETRY: 'false'

# The build logs to stdout too; the JSON result is the last top-level

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that cf previews deploy support WRANGLER_OUTPUT_FILE_DIRECTORY env var, that results in a nice clean JSONL file being written to disk. So you don't have to rely upon the stdout.

That being said, I think that after cloudflare/cf#355 we might have a clean stdout with the build logs sent to stderr??

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know! For now I commented out the deploy preview because the site is still internal, and I don't want to leak it (I deleted the comment too)

@ematipico
ematipico merged commit 260488a into main Oct 20, 2026
13 checks passed
@ematipico
ematipico deleted the refactor/use-cf branch October 20, 2026 10:01
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.

2 participants