Skip to content

Commit 3f89a4b

Browse files
committed
fix: add Go binary path and use single quotes for password in deploy script
1 parent dc1d4b8 commit 3f89a4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
script: |
2020
cd /home/${{ secrets.USERNAME }}/projects/poult-be
2121
git pull
22+
export PATH=$PATH:/usr/local/go/bin
2223
go mod tidy
23-
echo "${{ secrets.PASSWORD }}" | sudo -S systemctl restart kuku.service
24-
sudo systemctl status kuku.service
24+
echo '${{ secrets.PASSWORD }}' | sudo -S systemctl restart kuku.service
25+
echo '${{ secrets.PASSWORD }}' | sudo -S systemctl status kuku.service

0 commit comments

Comments
 (0)