/frontend-gh-actions

Github actions by the frontend team

Primary LanguageJavaScript

Customink Frontend Actions

pr-description-to-dotenv-action

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

Inputs

dotenv-file-name

Required The filename to write the environment variables into. Defaults to ./.env.

Example usage

uses: customink/frontend-gh-actions/pr-desc-to-dotenv-action@v1.0
with:
  dotenv-file-name: '.env.development'  # Optional; will fall back to .env as default