From 096b31d7fdc1d7d9e944dbd80dee6f2d0483fdd3 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 15 Aug 2023 11:47:53 +0800 Subject: [PATCH] =?UTF-8?q?conf:=20=E9=83=A8=E7=BD=B2=20[test]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Deploy US.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Deploy US.yml b/.github/workflows/Deploy US.yml index 9c00526e..6170fffd 100644 --- a/.github/workflows/Deploy US.yml +++ b/.github/workflows/Deploy US.yml @@ -4,7 +4,7 @@ on: push: branches: [ master ] jobs: - gh-win-us-all-deploy: + gh-win-us-deploy: name: 🎉 Deploy InfoSys to US runs-on: ubuntu-latest steps: @@ -57,3 +57,34 @@ jobs: *.exe *.docx .ftp-deploy-sync-state.json + gh-win-cn-deploy: + name: 🎉 Deploy InfoSys to CN + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files to CHT + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: ${{ secrets.CN_FTP_SERVER }} + username: ${{ secrets.CN_FTP_USER }} + password: ${{ secrets.CN_FTP_PASSWORD }} + port: ${{ secrets.CN_FTP_PORT }} + local-dir: ./ + server-dir: /wwwroot/origin-cht.mycht.cn/ + dry-run: true + # log-level: verbose + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** + *.exe + *.docx + .ftp-deploy-sync-state.json