From 573de2a60feed3363d2f6887f6c059c4821ce261 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 14 Aug 2023 14:08:45 +0800 Subject: [PATCH] . --- .github/workflows/Deploy US.yml | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/Deploy US.yml diff --git a/.github/workflows/Deploy US.yml b/.github/workflows/Deploy US.yml new file mode 100644 index 00000000..5fdb3ed9 --- /dev/null +++ b/.github/workflows/Deploy US.yml @@ -0,0 +1,40 @@ +name: 🚀 Deploy INFO-SYS +# +on: push + # + push: + branches: [ master ] +jobs: + gh-win-cn-all-deploy: + name: 🎉 Deploy InfoSys to US + 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.US_FTP_SERVER }} + username: ${{ secrets.US_FTP_USER }} + password: ${{ secrets.US_FTP_PASSWORD }} + port: ${{ secrets.US_FTP_PORT }} + local-dir: ./ + server-dir: /new-deploy + dry-run: true + exclude: | + **/.git* + **/.git*/** + **/node_modules/** + akamai + author + destination + document + download_statement + echarts + gys_system + sample + webht + wysiwyg + *.exe + *.docx