Former-commit-id: 059f998b3f3d20a531fc93f4c302e5dd44890ed6
Former-commit-id: 7265fda9359ea381173a4d7c443165d8113ae082
Former-commit-id: ea3839a7aed544b6c2d44445fe1223b6eb61cac6
Former-commit-id: 61eb2a57b21e0a8d32bd80a86342a976349733c8 [formerly b2c14d2c9df1c5ac582079cbae0181732c0288e9]
Former-commit-id: 2b66b5f94ce3576f4f1f6bc90264f2471a894f36
Former-commit-id: a3abc2e3ee4e8069e4c2f37b54f5dacb642d9693
Former-commit-id: ffa1733578ef304864d7b265848d4d6bea8b18c5
Former-commit-id: 139246f86d095943e06a204b77c92683cbf33842
Former-commit-id: 16b0b196f83201844148d1054094e8672176b9ba
This commit is contained in:
FairyEver
2019-12-12 09:21:08 +08:00
parent e80bebc379
commit 6f62bea976

View File

@@ -17,9 +17,6 @@ jobs:
run: |
npm install
npm run build:github
- name: Var
run: |
REMOTE_DIR=/www/${GITHUB_REPOSITORY//*\//}/preview
- name: Deploy
uses: SamKirkland/FTP-Deploy-Action@2.0.0
env:
@@ -29,5 +26,5 @@ jobs:
METHOD: sftp
PORT: ${{ secrets.FTP_PORT }}
LOCAL_DIR: dist
REMOTE_DIR: $REMOTE_DIR
REMOTE_DIR: /www/d2-admin/preview
ARGS: --delete --verbose --parallel=100