Skip to content

Commit 49b37ea

Browse files
Fix removing env file if already existing
1 parent f58217d commit 49b37ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/staging-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.WEBSITE_STAGING_BUCKET_NAME }} >> .env
2627
echo HOST_NAME=${{ secrets.WEBSITE_STAGING_HOST_NAME }} >> .env

0 commit comments

Comments
 (0)