File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 84
84
fi
85
85
- name : Git checkout
86
86
uses : actions/checkout@v3
87
- - name : Override env.json
88
- if : ${{ inputs.override_env_json != '' }}
89
- run : mv ${{ inputs.override_env_json }}.${{ inputs.environment }} ${{ inputs.override_env_json }}
90
- shell : bash
91
-
92
87
- name : Detect env
93
88
uses : infinum/js-pipeline/.github/actions/detect-env@v1
94
89
with :
@@ -127,6 +122,10 @@ runs:
127
122
run : |
128
123
echo "${{ env.app_secrets }}" > .env
129
124
echo "Secrets have been added to the .env file"
125
+ - name : Override env.json
126
+ if : ${{ inputs.override_env_json != '' }}
127
+ run : mv ${{ inputs.override_env_json }}.${{ inputs.environment }} ${{ inputs.override_env_json }}
128
+ shell : bash
130
129
- name : Run build
131
130
shell : bash
132
131
id : ' build'
You can’t perform that action at this time.
0 commit comments