forked from BLC/sgeUpdated
Compare commits
4 Commits
1ebf2f2f9d
...
fix/harbor
| Author | SHA1 | Date | |
|---|---|---|---|
| b64abe3a3a | |||
|
|
54dcb584d6 | ||
| b6a4f0e303 | |||
|
|
e0c8286475 |
@@ -22,8 +22,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run deploy script on server
|
- name: Run deploy script on server
|
||||||
run: |
|
run: |
|
||||||
ssh ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} << 'EOF'
|
# We add -tt to force a pseudo-terminal (fixes that stdin error)
|
||||||
echo "✅ PR merged into main — running deploy script.."
|
# We call bash -lc to force a Login Shell, which loads your credentials
|
||||||
cd /home/ubuntu/Bgreen/sgeUpdated
|
ssh -tt ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} "bash -lc 'cd /home/ubuntu/Bgreen/sgeUpdated && ./deploy.sh'"
|
||||||
./deploy.sh
|
|
||||||
EOF
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ cd /home/ubuntu/Bgreen/sgeUpdated
|
|||||||
# -----------------------
|
# -----------------------
|
||||||
# Harbor settings
|
# Harbor settings
|
||||||
# -----------------------
|
# -----------------------
|
||||||
HARBOR_REGISTRY="10.150.1.166:8085"
|
HARBOR_REGISTRY="10.10.100.110:8085"
|
||||||
HARBOR_PROJECT="bgreen"
|
HARBOR_PROJECT="bgreen"
|
||||||
|
|
||||||
BACKEND_IMAGE_REPO="${HARBOR_REGISTRY}/${HARBOR_PROJECT}/bgreen-backend"
|
BACKEND_IMAGE_REPO="${HARBOR_REGISTRY}/${HARBOR_PROJECT}/bgreen-backend"
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
<groupId>com.sgs</groupId>
|
<groupId>com.sgs</groupId>
|
||||||
<artifactId>sgs</artifactId>
|
<artifactId>sgs</artifactId>
|
||||||
<version>0.0.2-SNAPSHOT</version>
|
<version>0.0.3-SNAPSHOT</version>
|
||||||
<name>sgs</name>
|
<name>sgs</name>
|
||||||
<description>SGS project for Spring Boot</description>
|
<description>SGS project for Spring Boot</description>
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
Reference in New Issue
Block a user