Skip to content

A GitHub Action for setting up and configuring the Fastly command line interface

License

Notifications You must be signed in to change notification settings

softprops/setup-fastly-cli

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup Fastly CLI

⏲️A GitHub Action for setting up and configuring the Fastly command line interface

usage

Create a Fastly API token. These tokens are not meant to be shared. Keep them secret by storing them in your GitHub repository's actions secrets.

Add a step to your workflow to install and configure the Fastly CLI

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Setup Fastly CLI
      uses: softprops/setup-fastly-cli@v1
      env:
        FASTLY_API_TOKEN: ${{ secrets.FASTLY_API_TOKEN }}
    - name: Enjoy
      run: fastly whoami

inputs

Name Type Description
version string version of Fastly cli release defaults to latest version

env

Name Type Description
FASTLY_API_TOKEN string personal Fastly API token

Doug Tangren (softprops) 2020

About

A GitHub Action for setting up and configuring the Fastly command line interface

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published