fix: add env file cleanup step to ui-nyla workflows
Some checks failed
Deploy Nyla Frontend to Production / build-and-deploy (push) Failing after 2s
Some checks failed
Deploy Nyla Frontend to Production / build-and-deploy (push) Failing after 2s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
6dbf91afb2
commit
077dbca759
2 changed files with 4 additions and 2 deletions
|
|
@ -24,9 +24,10 @@ jobs:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Copy integration environment file
|
- name: Set environment
|
||||||
run: |
|
run: |
|
||||||
cp config/env-int.env .env
|
cp config/env-int.env .env
|
||||||
|
rm -f config/env-*.env
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,10 @@ jobs:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Copy production environment file
|
- name: Set environment
|
||||||
run: |
|
run: |
|
||||||
cp config/env-prod.env .env
|
cp config/env-prod.env .env
|
||||||
|
rm -f config/env-*.env
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue