conf: 部署 [test]

hotfix/paypal-note
Lei OT 2 years ago
parent 8d685f4520
commit 096b31d7fd

@ -4,7 +4,7 @@ on:
push: push:
branches: [ master ] branches: [ master ]
jobs: jobs:
gh-win-us-all-deploy: gh-win-us-deploy:
name: 🎉 Deploy InfoSys to US name: 🎉 Deploy InfoSys to US
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -57,3 +57,34 @@ jobs:
*.exe *.exe
*.docx *.docx
.ftp-deploy-sync-state.json .ftp-deploy-sync-state.json
gh-win-cn-deploy:
name: 🎉 Deploy InfoSys to CN
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: 📂 Sync files to CHT
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
# log-level: verbose
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
document/**
download_statement/**
sample/**
**/logs/**
**/web.config
**/author/document/**
*.exe
*.docx
.ftp-deploy-sync-state.json

Loading…
Cancel
Save