forked from BLC/sgeUpdated
Compare commits
1 Commits
main
...
fix/harbor
| Author | SHA1 | Date | |
|---|---|---|---|
| b64abe3a3a |
@@ -22,8 +22,6 @@ jobs:
|
||||
|
||||
- name: Run deploy script on server
|
||||
run: |
|
||||
ssh ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} << 'EOF'
|
||||
echo "✅ PR merged into main — running deploy script.."
|
||||
cd /home/ubuntu/Bgreen/sgeUpdated
|
||||
./deploy.sh
|
||||
EOF
|
||||
# We add -tt to force a pseudo-terminal (fixes that stdin error)
|
||||
# We call bash -lc to force a Login Shell, which loads your credentials
|
||||
ssh -tt ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} "bash -lc 'cd /home/ubuntu/Bgreen/sgeUpdated && ./deploy.sh'"
|
||||
|
||||
Reference in New Issue
Block a user