-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update Frontend Preview workflow #165
Conversation
Only deploy to the preview environment for pull requests and pushes to the `main` branch. This avoids deploys for temporary merge queue branches and other branches where we don't need previews.
Looks like the Cloudflare Wrangler action doesn't detect the branch name from the |
The Cloudflare Wrangler action doesn't detect the branch name for `pull_request` triggers, so we have to specify it explicitly.
Fixed with the latest commit. https://update-frontend-preview-work.kiesraad-abacus.pages.dev/ was deployed successfully 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want previews built for feature branches? They might come in handy during reviews
They'll be built for pull requests, won't that be sufficient? |
I misread, this is perfect 👍 |
Only deploy to the preview environment for pull requests and pushes to the
main
branch. This avoids deploys for temporary merge queue branches and other branches where we don't need previews.