test: Deploy CN cht
parent
36588f003e
commit
1b4028b5e1
@ -0,0 +1,73 @@
|
|||||||
|
name: 🚀 Deploy INFO-SYS
|
||||||
|
on: push
|
||||||
|
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
|
||||||
|
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-cht.mycht.cn/
|
||||||
|
dry-run: true
|
||||||
|
exclude: |
|
||||||
|
**/.git*
|
||||||
|
**/.git*/**
|
||||||
|
**/node_modules/**
|
||||||
|
document
|
||||||
|
download_statement
|
||||||
|
webht
|
||||||
|
author
|
||||||
|
gys_system
|
||||||
|
destination
|
||||||
|
sample
|
||||||
|
splunk
|
||||||
|
*.exe
|
||||||
|
*.docx
|
Loading…
Reference in New Issue