alpacon-setup-action
Installs the Alpacon CLI in your workflow environment. Run this as the first step before using any other Alpacon actions.
Inputs
This action requires no inputs.
Usage
steps:
- name: Setup Alpacon CLI
uses: alpacax/alpacon-setup-action@v1
- name: Use other Alpacon actions
uses: alpacax/alpacon-websh-action@v1
with:
workspace-url: ${{ secrets.ALPACON_WORKSPACE_URL }}
api-token: ${{ secrets.ALPACON_API_TOKEN }}
target: 'my-server'
script: echo "Hello"
Supported runners
ubuntu-latest(and other Ubuntu-based runners)
Notes
- Skips installation if the CLI is already present
- Must run before
alpacon-websh-action,alpacon-cp-action, oralpacon-common-action - Other Alpacon actions handle authentication automatically