Skip to content

Commit 65800fc

Browse files
Update deploy.yml
1 parent 4c16498 commit 65800fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
pm2 start server.js --name mern-backend
6868
6969
echo "🌐 Step 8: Deploy frontend to Nginx root"
70-
rm -rf /opt/day07/*
71-
cp -r /home/hostapp/React-02/frontend/dist/* /opt/day07/
70+
sudo rm -rf /opt/day07/*
71+
sudo cp -r /home/hostapp/React-02/frontend/dist/* /opt/day07/
7272
7373
7474

0 commit comments

Comments
 (0)