KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
secrets-to-env-action
★ 13
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
fetch-through-merge-base
:
A GitHub Action for fetching PR commits through the merge-base
Oberon-retro-compiler
:
Oberon compiler which supports LOOP, EXIT, WITH, multiple RETURNs and forward declarations of procedures
text_speech
:
Using Gradio interface to build UI for converting text to speech
Spotify-Status-Real-Time-GitHub
:
No description available.
dev-discords
:
An online collection of developer related discord servers.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
secrets-to-env-action
?
Download (.md)
# Javascript action that generate `.env` file from github secrets. ## Inputs ### secrets (*required*) ### secrets_env (*required*) `all` | `production` | `development` ### prefix_prod default: `__PROD__` ### prefix_dev default: `__DEV__` ### file_name_prod default: `.env` ### file_name_dev default: `.env.dev` ### overwrite_prod default: `false`\ If this value is 'true', It will use prod-secrets as base when generating `.env.dev` and overwrite them by dev-secrets. ## Example usage ``` uses: shine1594/secrets-to-env-action@master with: secrets: ${{ toJSON(secrets) }} secrets_env: all ``` ``` uses: shine1594/secrets-to-env-action@master with: secrets: ${{ toJSON(secrets) }} secrets_env: production file_name_prod: my_production_env.txt ``` ``` uses: shine1594/secrets-to-env-action@master with: secrets: ${{ toJSON(secrets) }} secrets_env: production prefix_prod: __MY_PROD_PREFIX__ ```