Skip to content

Commit afc890d

Browse files
author
ndu
committed
chore(feat): change user
1 parent e9a516b commit afc890d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
key: ${{ secrets.VPS_SSH_KEY }}
2727
timeout: 30s
2828
script: |
29-
if [ ! -f /root/deploy.sh ]; then
29+
if [ ! -f /home/ndu/deploy.sh ]; then
3030
echo "Error: deploy.sh not found"
3131
exit 1
3232
fi
33-
chmod +x /root/deploy.sh
34-
sudo /root/deploy.sh || {
33+
chmod +x /home/ndu/deploy.sh
34+
sudo /home/ndu/deploy.sh || {
3535
echo "Deployment failed"
3636
exit 1
3737
}

0 commit comments

Comments
 (0)