We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3c68b5 commit 2d5df80Copy full SHA for 2d5df80
.github/workflows/deploy.yml
@@ -35,10 +35,8 @@ jobs:
35
- name: Set environment dynamically
36
id: set-env
37
run: |
38
- # Convert subfolder name to uppercase to match the secret naming convention
39
- DYNAMIC_ENV_NAME="ENV_${{ matrix.folder }}"
40
# Export the secret's value
41
- echo "EXTRA_ENV=--env ${{ secrets[DYNAMIC_ENV_NAME] }}" >> $GITHUB_ENV
+ echo "EXTRA_ENV=--env ${{ fromJSON(secrets.ENV_VARS)[matrix.folder] }}" >> $GITHUB_ENV
42
- name: Deploy to ReflexCloud
43
env:
44
REFLEX_AUTH_TOKEN: ${{ secrets.REFLEX_AUTH_TOKEN }}
0 commit comments