Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

danielr1996/envsubst-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

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/envsubst-action@1.0.0
 env:
 VERSION: 1.2.3
 INSTANCE: staging
 with:
 input: template.json
 output: deployment.json

deployment.json

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

About

Github Action for envsubst

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /