Skip to main content

Use Argos with Drone CI

Configure Drone CI to send screenshots to Argos visual testing platform.

Configuring environment variable

Argos uses the ARGOS_TOKEN to identify to which repository the screenshots you send are related.

To get token value, sign in to Argos and click on the Gear buttonbutton in front of your repository.

Set the ARGOS_TOKEN as an environment variable in your CI configuration.

Warning: Be careful to store your Argos token safely. ARGOS_TOKEN environment variable should be accessible by your CI but not visible publicly.

If you are not comfortable with storing secret, read Drone CI documentation about repository secret.

Configure Drone CI

kind: pipeline
type: docker
name: default

# 👉 Insert the steps required to take screenshots

- name: Upload screenshots to
- npx @argos-ci/cli upload ./screenshots
secrets: [ARGOS_TOKEN]

We don't have Drone CI example repository to yet. Don't hesitate to contribute by adding an example!