-
Repo: quick-spawn
-
Branch: auto-images
-
Directory:
/docs/images/badges
npm install && npm install --only=dev
npm run build
npm test
The following scripts create /.preview.html
which shows every created artifacts
npm run preview
npm run build
npm run test
(ornpm test
)
If /sh/previewer.sh
is a file, the file will run as a bash script with $1
is path to /.preview.html
If you push changes to a branch, CI tools will test only (by npm test
)
If you push tags, CI tools will do both test and deploy
There're 3 types of releases depend on tag suffix
-alpha
: Draft Release-beta
: Prerelease- no suffix: Official & Stable Release
Deployment is vary, depends on which environment variable is turned on
This type of deployment requires GITHUB_RELEASE_OAUTH
This type of deployment requires 3 environment variables
RELEASE_GIST
is set toTRUE
GIST_ID
GIST_TOKEN
This type of deployment requires 4 environment variables
TARGET_GITHUB_RELEASE_OAUTH
(optional, default toGITHUB_RELEASE_OAUTH
)TARGET_GITHUB_REPO_OWNER
TARGET_GITHUB_REPO_NAME
TARGET_GITHUB_REPO_BRANCH