Setup Fastly CLI
ActionsA GitHub Action for setting up and configuring the Fastly command line interface
v0.1.1
LatestBy softprops
Tags
(2)⏲️A GitHub Action for setting up and configuring the Fastly command line interface
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
Name | Type | Description |
---|---|---|
version |
string | version of Fastly cli release defaults to latest version |
Name | Type | Description |
---|---|---|
FASTLY_API_TOKEN |
string | personal Fastly API token |
Doug Tangren (softprops) 2020
Setup Fastly CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.