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

Update Frontend Preview workflow #165

Merged
merged 2 commits into from
Jul 22, 2024
Merged

Conversation

praseodym
Copy link
Contributor

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.

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.
Lionqueen94
Lionqueen94 previously approved these changes Jul 19, 2024
@praseodym
Copy link
Contributor Author

Looks like the Cloudflare Wrangler action doesn't detect the branch name from the pull_request trigger, I'm looking for a fix.

The Cloudflare Wrangler action doesn't detect the branch name for
`pull_request` triggers, so we have to specify it explicitly.
@praseodym
Copy link
Contributor Author

praseodym commented Jul 19, 2024

Looks like the Cloudflare Wrangler action doesn't detect the branch name from the pull_request trigger, I'm looking for a fix.

Fixed with the latest commit. https://update-frontend-preview-work.kiesraad-abacus.pages.dev/ was deployed successfully 😄

@praseodym praseodym requested a review from Lionqueen94 July 19, 2024 13:09
@praseodym praseodym enabled auto-merge July 19, 2024 19:12
Copy link
Contributor

@cikzh cikzh left a 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

@praseodym
Copy link
Contributor Author

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?

@cikzh
Copy link
Contributor

cikzh commented Jul 22, 2024

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 👍

@praseodym praseodym added this pull request to the merge queue Jul 22, 2024
Merged via the queue into main with commit f5ec092 Jul 22, 2024
3 checks passed
@praseodym praseodym deleted the update-frontend-preview-workflow branch July 22, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants