forked from BLC/sgeUpdated
Compare commits
4 Commits
e0c8286475
...
fix/harbor
| Author | SHA1 | Date | |
|---|---|---|---|
| b64abe3a3a | |||
|
|
54dcb584d6 | ||
| b6a4f0e303 | |||
| 1ebf2f2f9d |
@@ -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'"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</parent>
|
||||
<groupId>com.sgs</groupId>
|
||||
<artifactId>sgs</artifactId>
|
||||
<version>0.0.2-SNAPSHOT</version>
|
||||
<version>0.0.3-SNAPSHOT</version>
|
||||
<name>sgs</name>
|
||||
<description>SGS project for Spring Boot</description>
|
||||
<properties>
|
||||
|
||||
Reference in New Issue
Block a user