Merge branch 'master' of github.com:hainatravel/information-system
@ -0,0 +1,37 @@
|
||||
# .
|
||||
name: 🚀 Deploy INFO-SYS
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the master branch
|
||||
push:
|
||||
branches: [ master ]
|
||||
jobs:
|
||||
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
|
||||
# log-level: verbose
|
||||
exclude: |
|
||||
**/.git*
|
||||
**/.git*/**
|
||||
**/node_modules/**
|
||||
document/**
|
||||
download_statement/**
|
||||
sample/**
|
||||
**/logs/**
|
||||
**/web.config
|
||||
**/author/document/**
|
||||
*.exe
|
||||
*.docx
|
@ -0,0 +1,94 @@
|
||||
name: 🚀 Deploy INFO-SYS
|
||||
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the master branch
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
gh-win-us-deploy:
|
||||
name: 🎉 Deploy InfoSys to US
|
||||
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.US_FTP_SERVER }}
|
||||
username: ${{ secrets.US_FTP_USER }}
|
||||
password: ${{ secrets.US_FTP_PASSWORD }}
|
||||
port: ${{ secrets.US_FTP_PORT }}
|
||||
local-dir: ./
|
||||
server-dir: /information-system/
|
||||
# dry-run: true
|
||||
exclude: |
|
||||
**/.git*
|
||||
**/.git*/**
|
||||
**/node_modules/**
|
||||
document/**
|
||||
download_statement/**
|
||||
sample/**
|
||||
**/logs/**
|
||||
**/web.config
|
||||
**/author/document/**
|
||||
*.exe
|
||||
*.docx
|
||||
.ftp-deploy-sync-state.json
|
||||
- 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
|
||||
.ftp-deploy-sync-state.json
|
||||
|
||||
gh-win-cn-deploy:
|
||||
needs: gh-win-us-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
|
@ -1 +0,0 @@
|
||||
deny from all
|
@ -1,10 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
Before Width: | Height: | Size: 681 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 8.5 KiB |
Before Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 327 KiB |
Before Width: | Height: | Size: 9.5 KiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 254 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 681 KiB |
Before Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 405 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 1.6 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 661 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 230 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 682 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 661 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 736 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 681 KiB |
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 135 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 9.4 KiB |
Before Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 1.1 MiB |