| .. | ||
| action.yml | ||
| README.md | ||
secrets-inject
Append secret properties content to a Java .properties file.
Inputs
| Input | Required | Default | Description |
|---|---|---|---|
secret-content |
Yes | Properties content to append | |
target-file |
Yes | Path to the .properties file |
Usage
- uses: schmalz/shared-actions/.github/actions/secrets-inject@v1
with:
secret-content: ${{ secrets.APP_SECRETS }}
target-file: src/main/resources/application.properties
Notes
- A blank line is inserted before the appended content to avoid merging with the last existing line.