Skip to content

Commit 3005776

Browse files
committed
fix: Correct production environment file path in deploy workflow
- Change --env-file from /opt/lecommit/.env.prod to /opt/lecommit/frontend/.env.prod - Fixes 'no such file or directory' error during deployment - Aligns with project structure where application files are in frontend/ directory
1 parent f131614 commit 3005776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
--name lecommit-app \
6767
--restart unless-stopped \
6868
-p 80:3000 \
69-
--env-file /opt/lecommit/.env.prod \
69+
--env-file /opt/lecommit/frontend/.env.prod \
7070
lhr.vultrcr.com/lecommit1/lecommit:latest
7171
7272
echo "🧹 Cleaning up old images..."

0 commit comments

Comments
 (0)