From 71b676b5336257cc9d57b2e2432935ca864c6243 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Mon, 23 Feb 2026 15:29:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20CI/CD=20deploy-production?= =?UTF-8?q?=20=E9=80=A3=E7=B7=9A=E5=9F=A0=E8=99=9F=E7=82=BA=202224=20(?= =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=92=B0=E5=A2=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 4a05d8c..2dd79a7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -113,7 +113,7 @@ jobs: " docker exec star-erp-laravel chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache - # --- 2. 正式環境部署 (220.132.7.82:2227) --- + # --- 2. 正式環境部署 (220.132.7.82:2224) --- deploy-production: if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest @@ -136,7 +136,7 @@ jobs: --exclude='vendor' \ --exclude='storage' \ --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/ rm ~/.ssh/id_rsa_prod @@ -147,7 +147,7 @@ jobs: uses: appleboy/ssh-action@master with: host: 220.132.7.82 - port: 2227 + port: 2224 username: root key: ${{ secrets.PROD_SSH_KEY }} script: | @@ -168,7 +168,7 @@ jobs: uses: appleboy/ssh-action@master with: host: 220.132.7.82 - port: 2227 + port: 2224 username: root key: ${{ secrets.PROD_SSH_KEY }} script: |