From 738d55138efc94963ec44e4737a8acc4bb8a1f47 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 14 Aug 2023 12:15:39 +0800 Subject: [PATCH] Update Deploy CN.yml --- .github/workflows/Deploy CN.yml | 41 +++------------------------------ 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/.github/workflows/Deploy CN.yml b/.github/workflows/Deploy CN.yml index 19025bd9..1aa4f8ad 100644 --- a/.github/workflows/Deploy CN.yml +++ b/.github/workflows/Deploy CN.yml @@ -1,45 +1,10 @@ +# . name: 🚀 Deploy INFO-SYS -on: push +on: + # Triggers the workflow on push or pull request events but only for the master branch 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