Use deck
to manage your Deckrun resources.
To install the latest version of deck
and use it in GitHub Actions workflows, create a Deckrun API token, add it as a secret to your repository, and add the following step to your workflow:
- name: Install deck
uses: deckrun/setup-deck@v1
with:
token: ${{ secrets.DECKRUN_API_TOKEN }}
deck
will now be available in the virtual environment and can be used directly in the following steps.
As an example, you could deploy the application using Deckrun:
- name: Deploy Application
run: deck deploy
token
– (Required) A Deckrun API tokenversion
– (Optional) The version ofdeck
to install. If excluded, the latest release will be used.
This GitHub Action and associated scripts and documentation in this project are released under the MIT License.
This repository is based on GitHub doctl Action