conf: 部署 [test]

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

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

Loading…
Cancel
Save