From a945b0b431035e030054decf4a5023c1fe7fe86c Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 15 Aug 2023 11:15:38 +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 | 42 +++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Deploy US.yml b/.github/workflows/Deploy US.yml index 710134cb..3718aacb 100644 --- a/.github/workflows/Deploy US.yml +++ b/.github/workflows/Deploy US.yml @@ -11,7 +11,7 @@ jobs: - name: 🚚 Get latest code uses: actions/checkout@v3 - - name: 📂 Sync files + - name: 📂 Sync files to CHT uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ${{ secrets.US_FTP_SERVER }} @@ -19,21 +19,39 @@ jobs: password: ${{ secrets.US_FTP_PASSWORD }} port: ${{ secrets.US_FTP_PORT }} local-dir: application/ - server-dir: /new-deploy/ + server-dir: /information-system/ dry-run: true exclude: | **/.git* **/.git*/** **/node_modules/** - akamai - author - destination - document - download_statement - echarts - gys_system - sample - webht - wysiwyg + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** + *.exe + *.docx + - name: 📂 Sync files to CT + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + with: + server: ${{ secrets.US_FTP_SERVER }} + username: ${{ secrets.US_FTP_USER }} + password: ${{ secrets.US_FTP_PASSWORD }} + port: ${{ secrets.US_FTP_PORT }} + local-dir: ./ + server-dir: /origin-ct.mycht.cn/ + dry-run: true + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document/** + download_statement/** + sample/** + **/logs/** + **/web.config + **/author/document/** *.exe *.docx