From 1b4028b5e19ababa6cb25355c4948bceb34441ab Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 14 Aug 2023 12:08:05 +0800 Subject: [PATCH] test: Deploy CN cht --- .github/workflows/Deploy CN.yml | 73 +++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/workflows/Deploy CN.yml diff --git a/.github/workflows/Deploy CN.yml b/.github/workflows/Deploy CN.yml new file mode 100644 index 00000000..19025bd9 --- /dev/null +++ b/.github/workflows/Deploy CN.yml @@ -0,0 +1,73 @@ +name: 🚀 Deploy INFO-SYS +on: push + push: + branches: [ master ] +jobs: + # gh-win-cn-ct-deploy: + # name: 🎉 Deploy CT-Info to CN + # runs-on: ubuntu-latest + # steps: + # - name: 🚚 Get latest code + # uses: actions/checkout@v3 + + # - name: 📂 Sync files + # 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-ct.mycht.cn/ + # dry-run: true + # exclude: | + # **/.git* + # **/.git*/** + # **/node_modules/** + # document + # download_statement + # webht + # author + # gys_system + # destination + # sample + # splunk + # *.exe + # *.docx + # # !application + # # !bootstrap + # # !ckeditor + # # !css + # # !js + # # **/** + gh-win-cn-all-deploy: + name: 🎉 Deploy InfoSys to CN + runs-on: ubuntu-latest + steps: + - name: 🚚 Get latest code + uses: actions/checkout@v3 + + - name: 📂 Sync files + 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 + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + document + download_statement + webht + author + gys_system + destination + sample + splunk + *.exe + *.docx