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 }}
team_id: ${{ secrets.DECKRUN_TEAM_ID }}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 deploytoken– (Required) A Deckrun API tokenteam_id– (Optional) The ID of the team where you want to manage resourcesversion– (Optional) The version ofdeckto 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