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