Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add preview via fly #634

Merged
merged 1 commit into from
Aug 18, 2023
Merged

ci: add preview via fly #634

merged 1 commit into from
Aug 18, 2023

Conversation

MaxSchaefer
Copy link
Member

@MaxSchaefer MaxSchaefer commented Aug 16, 2023

This pull-request introduces the ability to preview projects of this monorepo on Fly.io. The solution proposed in #351 adopts next-on-pages. I am following this repository closely, it seems like that this project is unstable.

Therefore, I decided to go with https://github.com/superfly/fly-pr-review-apps. Projects inside this monorepo, that are already deployed via Fly.io are now able to deploy a preview environment in our helpwave-staging orga.

I've tested the mentioned deployment via GitHub environments (a first-class feature to show the deployment state of branches), but this requires clean-up of already merged deployments. https://github.com/strumwolf/delete-deployment-environment should handle this, but I couldn't get it to run. Successful execution, no action. We're now just commenting the preview URL into the pr for now. TODO

Testing

See comment below

Closes #164
Closes #351

@MaxSchaefer MaxSchaefer self-assigned this Aug 16, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 16, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5f9fceb
Status: ✅  Deploy successful!
Preview URL: https://8a765e9d.web-d91.pages.dev
Branch Preview URL: https://issue-x-preview-via-fly.web-d91.pages.dev

View logs

@MaxSchaefer MaxSchaefer force-pushed the issue/x-preview-via-fly branch 12 times, most recently from 42dcedf to 13fbee8 Compare August 17, 2023 21:04
@MaxSchaefer MaxSchaefer temporarily deployed to pr-634-tasks August 17, 2023 21:49 — with GitHub Actions Inactive
@MaxSchaefer MaxSchaefer force-pushed the issue/x-preview-via-fly branch 6 times, most recently from 864a904 to c37ee15 Compare August 17, 2023 22:21
@MaxSchaefer MaxSchaefer marked this pull request as ready for review August 17, 2023 22:29
@MaxSchaefer MaxSchaefer requested review from a team as code owners August 17, 2023 22:29
@MaxSchaefer MaxSchaefer requested review from shivadharmi and Paul-B98 and removed request for a team August 17, 2023 22:29
@MaxSchaefer MaxSchaefer merged commit 7164462 into main Aug 18, 2023
9 checks passed
@MaxSchaefer MaxSchaefer deleted the issue/x-preview-via-fly branch August 18, 2023 18:18
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.

Adopting Next.js Edge Runtime
2 participants