Decrypt the file and add it to the ebconfig file. The default path for the config elasticbeanstalk is .ebextensions/options.config
. If the file is in the folder backend, pass backend/.ebextensions/options.config
with the eb_config_path argument.
- You must have your transcrypt key
- To obtain it run
transcrypt --display
, it's the PASSWORD
Example workflow setup:
steps:
...
- uses: galadrimteam/env-to-eb-with-transcrypt@v1.2
with:
env_file: backend/.env.staging
transcrypt_key: ${{ secrets.TRANSCRYPT_KEY }}
eb_config_path: backend/.ebextensions/options.config