Skip to content

Commit 93b5cb5

Browse files
Update deploy.yml
1 parent beb3551 commit 93b5cb5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
echo "🌐 Step 8: Deploy frontend to Nginx root"
7070
sudo rm -rf /opt/day07/*
7171
cp -r /home/hostapp/React-02/frontend/dist/* /opt/day07/
72+
sudo chown -R www-data:www-data /opt/day07
73+
sudo chmod -R 755 /opt/day07
74+
7275
7376
echo "🔁 Step 9: Restart Nginx"
7477
sudo systemctl restart nginx

0 commit comments

Comments
 (0)