This action interacts with the Silverstripe Cloud Dashboard API.
It will create a deployment for the commit SHA that triggered the workflow.
See the test.yml file for an example that will trigger on every push
(Usually) email address of the user you will be authenticating as.
API token generated from your profile that allows you to interact with the dashboard
Short name for your stack (check the URL in Dash). Maximum 8 characters
Which environment to interact with (usually UAT or Production)
One of:
none
- will just create the deploymentapproval
- will create and bypass approval, but not start the deployment- `start' - will bypass and start immediately
If you get a 403
response when setting one of these, you probably don't have permission to bypass - check with your stack manager.
Show debug output (default: false)
yarn
ncc
installed globally
Use the develop
branch for changes. Make your edits in index.js
, but make
sure you run yarn build
before committing, as the file in dist/index.js
is what is actually read when the action is run.
Use semver for tagging and releases.
- split out a core library for Dash access and re-use it for a CWP version
- make things a little more customisable
- fill in description somehow
- custom deploy titles
- deploy a tag/branch instead of a SHA
- use the triggerer's dash api crendentials instead of a bot user
- allow scheduling