fix(ci): 還原正式環境部署配置至 erp.koori.tw:2224
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Failing after 1s

This commit is contained in:
2026-02-12 13:09:15 +08:00
parent 3be5d099c9
commit ba4ceb7ff6

View File

@@ -135,8 +135,8 @@ jobs:
--exclude='vendor' \ --exclude='vendor' \
--exclude='storage' \ --exclude='storage' \
--exclude='public/build' \ --exclude='public/build' \
-e "ssh -p 2227 -i ~/.ssh/id_rsa_prod -o StrictHostKeyChecking=no" \ -e "ssh -p 2224 -i ~/.ssh/id_rsa_prod -o StrictHostKeyChecking=no" \
./ root@220.132.7.82:/var/www/star-erp/ ./ root@erp.koori.tw:/var/www/star-erp/
rm ~/.ssh/id_rsa_prod rm ~/.ssh/id_rsa_prod
@@ -145,8 +145,8 @@ jobs:
id: check_rebuild_prod id: check_rebuild_prod
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: 220.132.7.82 host: erp.koori.tw
port: 2227 port: 2224
username: root username: root
key: ${{ secrets.PROD_SSH_KEY }} key: ${{ secrets.PROD_SSH_KEY }}
script: | script: |
@@ -166,8 +166,8 @@ jobs:
- name: Step 3 - Container Up & Health Check - name: Step 3 - Container Up & Health Check
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: 220.132.7.82 host: erp.koori.tw
port: 2227 port: 2224
username: root username: root
key: ${{ secrets.PROD_SSH_KEY }} key: ${{ secrets.PROD_SSH_KEY }}
script: | script: |