Actions reference
Alpacon provides four GitHub Actions for CI/CD workflows.
alpacon-setup-action
Install the Alpacon CLI in your workflow environment
Alpacon Exec Action
Execute shell commands on remote servers
alpacon-cp-action
Copy files between local and remote servers
alpacon-common-action
Run any Alpacon CLI command
Prerequisites
All actions except alpacon-setup-action require:
- An Alpacon workspace URL (e.g.,
https://your-workspace.us1.alpacon.io) - A service token (its key starts with
alpst-) with the scopes and ACL rules the workflow needs
Store these as GitHub Actions secrets in your repository.
Version policy
All actions follow semantic versioning. Pin each action to its current major version to receive backward-compatible updates automatically:
- uses: alpacax/alpacon-setup-action@v1
- uses: alpacax/alpacon-exec-action@v2
- uses: alpacax/alpacon-cp-action@v2
- uses: alpacax/alpacon-common-action@v2For usage examples and workflow patterns, see GitHub Actions integration.