Repository navigation
PIT-77: improve vercel-target support - #189
Merged
Merged
Conversation
When the new vercel-target input, both the --target and --prod flags are set. This causes the following warning to be printed: WARNING! Both `--prod` and `--target` detected. Ignoring `--prod`. It doesn't cause any issues but why leave a warning around?
I neglected to add the vercel-target input to the vercel-production.md and vercel-preview.md docs.
This allows deploys to different targets to run concurrently with each other.
Without this change, trying to deploy a preview to multiple targets will clash with one overwriting the other. It also wouldn't be clear what the target environment was in the comment. Note: This change will cause new comments to be left on existing PRs when deploying the previews as the marker has changed.
The vercel-preview.yml concurrency group is now very long. This trips the yamllint. It is possible, though awkward, to wrap the line. Rather than do that though, we suppress the check for this line as we have done in several other workflows.
AdamJHall
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This silences a warning when both
--prodand--targetare specified, documents the new flag, and allows multiple targets to be deployed in parallel.Note: The change to the PR comment will cause new comments to be left on existing PRs when deploying the previews, as the marker has changed.