From a2fe7b5a95b12935d133a88749b3ac80763ce427 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Mon, 23 Feb 2026 14:32:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8C=E6=AD=A5=E6=AD=A3=E5=BC=8F?= =?UTF-8?q?=E7=92=B0=E5=A2=83=E9=83=A8=E7=BD=B2=E7=9B=AE=E6=A8=99=E8=87=B3?= =?UTF-8?q?=20gitea=5Fwork=20(220.132.7.82:2227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 6c97109..4a05d8c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,7 +15,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: - github-server-url: http://192.168.0.103:3000 + github-server-url: https://gitea.taiwan-star.com.tw repository: ${{ github.repository }} - name: Step 1 - Push Code to Demo @@ -113,7 +113,7 @@ jobs: " docker exec star-erp-laravel chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache - # --- 2. 正式環境部署 (erp.koori.tw:2224) --- + # --- 2. 正式環境部署 (220.132.7.82:2227) --- deploy-production: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest @@ -121,7 +121,6 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: - github-server-url: http://192.168.0.103:3000 repository: ${{ github.repository }} - name: Step 1 - Push Code to Production @@ -137,8 +136,8 @@ jobs: --exclude='vendor' \ --exclude='storage' \ --exclude='public/build' \ - -e "ssh -p 2224 -i ~/.ssh/id_rsa_prod -o StrictHostKeyChecking=no" \ - ./ root@erp.koori.tw:/var/www/star-erp/ + -e "ssh -p 2227 -i ~/.ssh/id_rsa_prod -o StrictHostKeyChecking=no" \ + ./ root@220.132.7.82:/var/www/star-erp/ rm ~/.ssh/id_rsa_prod @@ -147,8 +146,8 @@ jobs: id: check_rebuild_prod uses: appleboy/ssh-action@master with: - host: erp.koori.tw - port: 2224 + host: 220.132.7.82 + port: 2227 username: root key: ${{ secrets.PROD_SSH_KEY }} script: | @@ -168,8 +167,8 @@ jobs: - name: Step 3 - Container Up & Health Check uses: appleboy/ssh-action@master with: - host: erp.koori.tw - port: 2224 + host: 220.132.7.82 + port: 2227 username: root key: ${{ secrets.PROD_SSH_KEY }} script: |