fix(ci): 還原正式環境部署配置至 erp.koori.tw:2224
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user