Covered in this doc
Configure Percy environment variables in Drone
Start by configuring
PERCY_TOKEN, our project-specific, write-only API token. It can be found in your Percy project settings and be added repository settings screen
and referenced in the
kind: pipeline name: default steps: - name: build ... environment: PERCY_TOKEN: from_secret: percy_token
Keep your Percy token secret
Anyone with access to your 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.
Updated 9 months ago