conf: 部署 [test]

hotfix/paypal-note
Lei OT 3 years ago
parent 5932950850
commit a945b0b431

@ -11,7 +11,7 @@ jobs:
- name: 🚚 Get latest code - name: 🚚 Get latest code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 📂 Sync files - name: 📂 Sync files to CHT
uses: SamKirkland/FTP-Deploy-Action@v4.3.4 uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with: with:
server: ${{ secrets.US_FTP_SERVER }} server: ${{ secrets.US_FTP_SERVER }}
@ -19,21 +19,39 @@ jobs:
password: ${{ secrets.US_FTP_PASSWORD }} password: ${{ secrets.US_FTP_PASSWORD }}
port: ${{ secrets.US_FTP_PORT }} port: ${{ secrets.US_FTP_PORT }}
local-dir: application/ local-dir: application/
server-dir: /new-deploy/ server-dir: /information-system/
dry-run: true dry-run: true
exclude: | exclude: |
**/.git* **/.git*
**/.git*/** **/.git*/**
**/node_modules/** **/node_modules/**
akamai document/**
author download_statement/**
destination sample/**
document **/logs/**
download_statement **/web.config
echarts **/author/document/**
gys_system *.exe
sample *.docx
webht - name: 📂 Sync files to CT
wysiwyg 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 *.exe
*.docx *.docx

Loading…
Cancel
Save