Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

ci: move daily deployments to Cloudflare#42

Merged
bajtos merged 6 commits intomainfrom
run-cron-deployment-on-cloudflare
Apr 9, 2025
Merged

ci: move daily deployments to Cloudflare#42
bajtos merged 6 commits intomainfrom
run-cron-deployment-on-cloudflare

Conversation

@bajtos
Copy link
Member

@bajtos bajtos commented Apr 7, 2025

Rework the Cron GitHub actions to stop running the build by GitHub and trigger a new deployment on Cloudflare instead.

This removes the inconsistency between pull request previews and cron deployments, where pull request previews were built by Cloudflare while cron deployments were built on GitHub.

Additional changes:

  • Remove the GHA trigger for the main branch. The Cloudflare integration already watches the main branch and creates new deployments after a new commit was pushed.

  • Add manual trigger to allow us to test the functionality of this workflow or to manually re-run it after failures.

This PR supersedes #41

Rework the Cron GitHub actions to stop running the build by GitHub
and trigger a new deployment on Cloudflare instead.

This removes the inconsistency between pull request previews and cron
deployments, where pull request previews were built by Cloudflare
while cron deployments were built on GitHub.

Additional changes:

- Remove the GHA trigger for the main branch. The Cloudflare integration
  already watches the main branch and creates new deployments after
  a new commit was pushed.

- Add manual trigger to allow us to test the functionality of this
  workflow or to manually re-run it after failures.

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Apr 7, 2025

Deploying spark-dashboard with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf38e22
Status: ✅  Deploy successful!
Preview URL: https://67367589.spark-dashboard.pages.dev
Branch Preview URL: https://run-cron-deployment-on-cloud.spark-dashboard.pages.dev

View logs

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Copy link
Member

@pyropy pyropy left a comment

Choose a reason for hiding this comment

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

Awesome work Miro 👏🏻

@bajtos
Copy link
Member Author

bajtos commented Apr 7, 2025

I am open-minded about which direction to take. I think all three options work:

@bajtos
Copy link
Member Author

bajtos commented Apr 7, 2025

Here is the scheduled GHA run using the old workflow that succeeded earlier today:

https://github.com/CheckerNetwork/spark-dashboard/actions/runs/14300538033

Screenshot 2025-04-07 at 17 40 56

@bajtos
Copy link
Member Author

bajtos commented Apr 8, 2025

Today's scheduled run succeeded too.

https://github.com/CheckerNetwork/spark-dashboard/actions/runs/14324837590

Screenshot 2025-04-08 at 17 34 23

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
Copy link
Member

@pyropy pyropy left a comment

Choose a reason for hiding this comment

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

Awesome job!

Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
@bajtos bajtos merged commit c9b8b32 into main Apr 9, 2025
3 checks passed
@bajtos bajtos deleted the run-cron-deployment-on-cloudflare branch April 9, 2025 11:13
@bajtos
Copy link
Member Author

bajtos commented Apr 9, 2025

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants