This action will write environment variables requested in the PR description into a dotenv file for use during the rest of the workflow.
The environment variables must be listed in the pr description in a markdown fenced code block after the words "Environment Variables".
Example:
Envionment Variables
TEST_VAR=TEST_VAL
Required The filename to write the environment variables into. Defaults to ./.env
.
uses: customink/frontend-gh-actions/[email protected]
with:
dotenv-file-name: '.env.development' # Optional; will fall back to .env as default