👍

Covered in this doc

Configure Percy environment variables in Drone

Configuring environment variables


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 .drone.yml config.

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.


What's next

If you haven't installed and configured an SDK or source code integration, those are your next steps to getting started with visual testing.