Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
download

GitHub Action

Install Doppler CLI

v1

Install Doppler CLI

download

Install Doppler CLI

Install the Doppler CLI into your PATH

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Install Doppler CLI

uses: DopplerHQ/cli-action@v1

Learn more about this action in DopplerHQ/cli-action

Choose a version

Install Doppler CLI action

The Doppler CLI is the official tool for interacting with your Enclave secrets and configuration. This action installs the latest Doppler CLI into your PATH.

Example usage

Include this Action as a step in your workflow:

uses: dopplerhq/cli-action@v1

You can see a live example of this Action here.

Configuration

In most cases, you'll need to provide the CLI with an auth token. You can do so via the DOPPLER_TOKEN environment variable. In the below example, the token is retrieved from GitHub secrets.

name: Example action

on: [push]

jobs:
  my-job:
    runs-on: ubuntu-latest
    steps:
    - name: Install CLI
      uses: dopplerhq/cli-action@v1
    - name: Do something with the CLI
      run: doppler secrets --only-names
      env:
        DOPPLER_TOKEN: ${{ secrets.DOPPLER_TOKEN }}