Integrate App percy with GitHub Actions
Integrate App percy with GitHub Actions, a popular CI-CD tool
Follow these steps to integrate App percy with GitHub Actions:
Configuring environment variables
Start by adding the PERCY_TOKEN
to your repos secrets. PERCY_TOKEN
is your project-specific, write-only API token. It can be found in your Percy project settings and add it to your GitHub project secrets.
In your GitHub project’s settings, go to Settings > Secrets and variables > Actions > New repository secret.
Then set PERCY_TOKEN
to the write-only token from your Percy project. This token can be found in each Percy project’s settings.
Now you can run your tests with Percy (typically percy app:exec -- [test command]
) and send builds to App Percy from CI.
Keep your Percy token secret.
Anyone with access to your Percy token can add builds to your project, though they cannot read data. If your code is public, do not commit the PERCY_TOKEN to your code.
Reference Topic
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!