Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AfandyW committed May 20, 2024
1 parent 9ab9fcf commit f4cb5cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
VPS_USER: ${{ secrets.VPS_USER }}
VPS_KEY: ${{ secrets.VPS_KEY }}
run: |
echo "user ${{ secrets.VPS_USER }}"
echo "$VPS_KEY" > vps_key.pem
chmod 600 vps_key.pem
ssh -o StrictHostKeyChecking=no -i vps_key.pem $VPS_USER@$VPS_IP "
cd /home/hmcroot/app/development/lms-be &&
git pull origin development &&
export PATH=\$PATH:/usr/local/go/bin &&
go mod tidy &&
go build -o main . &&
sudo systemctl restart lms-be-development"

0 comments on commit f4cb5cd

Please sign in to comment.