Environment Variables
Environment variables can be used from three different sources. Shell environment, .env files or predefined values inside the build file.
Shell environment
tasks:
example:
envs:
VERSION: $VERSION
cmds:
- echo $VERSION.env file
NPM_TOKEN=abctasks:
example:
envs:
NPM_TOKEN: $NPM_TOKEN
cmds:
- npm publishDefined values in the build file
Last updated