action-env-replacer/README.md

25 lines
348 B
Markdown

# action-env-replace
This action replace all env that starts with APP_ with env value in file
## Inputs
### `file`
**Required** The text of the kubeconfig. Default `""`.
## Example usage
```yaml
uses: git.qtoa.cn/actions/action-env-replacer@0.0.2
with:
file: 'deployment.yaml'
show: false
```
deployment.yaml
```
name: ${APP_NAME}
```