Skip to content

Commit 2ebcba2

Browse files
fix: Removing env file if already exists in prod build file
1 parent 0075498 commit 2ebcba2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: npm install --ignore-scripts=false --verbose sharp@0.30.7 --force --unsafe-perm
2222
- name: 'Create env file'
2323
run: |
24+
rm -rf .env
2425
touch .env
2526
echo BUCKET_NAME=${{ secrets.BUCKET_NAME }} >> .env
2627
echo HOST_NAME=${{ secrets.HOST_NAME }} >> .env

0 commit comments

Comments
 (0)