Skip to content

envsubst-action

Actions
wrapper for envsubst
1.1.0
Latest
Star (27)

Envsubst Action

This action allows you to substitute environment variables in a file.

Usage

template.json

{
  "version": "${VERSION}",
  "instance": "${INSTANCE}"
}

.github/workflows/pipeline.yaml

- uses: danielr1996/[email protected]
  env:
      VERSION: 1.2.3
      INSTANCE: staging
  with:
    input: template.json
    output: deployment.json

deployment.json

{
  "version": "1.2.3",
  "instance": "staging"
}

envsubst-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

wrapper for envsubst
1.1.0
Latest

envsubst-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.