Skip to content

Manual screenshot update for base branch #972

Answered by Robdel12
gilons asked this question in Support
Discussion options

You must be logged in to vote

👋🏼 hey @gilons! You can use PERCY_BRANCH to change the builds git branch and run a build to upload a set of screenshots you'd like to use for a baseline. https://docs.percy.io/docs/environment-variables#optional Something like:

PERCY_BRANCH="your-baseline-branch-name-here" npx percy upload ./screenshots (or whatever the CLI command you're running -- if it's the CLI the PERCY_BRANCH env var will work)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gilons
Comment options

Answer selected by Robdel12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #971 on June 24, 2022 12:32.