Skip to content

Commit d886d40

Browse files
authored
Update deployment workflow for production environment
1 parent 41ab24e commit d886d40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/care-hmis-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727

2828
- name: Update .env file
2929
run: |
30-
echo "${{ vars.DEPLOYMENT_ENV_FILE }}" | base64 --decode > .env
30+
echo "${{ vars.DEPLOYMENT_ENV_FILE }}" | base64 --decode > .env.production
3131
3232
- name: Install dependencies
3333
run: npm install
3434

3535
- name: Build the React app
36-
run: npm run build
36+
run: NODE_ENV=development npm run build
3737

3838
- name: Upload build artifact
3939
id: upload-artifact

0 commit comments

Comments
 (0)