This action sets up an environment with the Upsun.com cli.
Required Your upsun.com api token, see https://docs.upsun.com/administration/cli/api-tokens.html
Options The version of the cli to use, defaults to latest (main), see https://github.com/platformsh/cli/releases/ for available versions
See action.yml
Basic:
- uses: jvm-tech/[email protected]
with:
token: ${{secrets.UPSUN_CLI_TOKEN}} #required
Specify CLI version:
- uses: jvm-tech/[email protected]
with:
token: ${{secrets.UPSUN_CLI_TOKEN}} #required
version: 5.0.20
You will need to generate an API token and add it as a Secret with the name UPSUN_CLI_TOKEN in your repository Settings.
This package takes inspiration from https://github.com/adam7/platformsh-cli-action. It adapts the install process to install a different version of the cli tool.