deploy-test

This commit is contained in:
FairyEver 2019-12-15 00:12:47 +08:00
parent ff3d19fbf0
commit 8025b81422
1 changed files with 5 additions and 6 deletions

View File

@ -5,13 +5,12 @@ on:
branches:
- master
env:
LOCAL_DIR: dist
REMOTE_DIR: /www/d2-admin/preview
jobs:
build:
runs-on: ubuntu-latest
env:
LOCAL_DIR: dist
REMOTE_DIR: /www/d2-admin/preview
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
@ -29,6 +28,6 @@ jobs:
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
METHOD: sftp
PORT: ${{ secrets.FTP_PORT }}
LOCAL_DIR: ${{ $LOCAL_DIR }}
REMOTE_DIR: ${{ $REMOTE_DIR }}
LOCAL_DIR: ${{ LOCAL_DIR }}
REMOTE_DIR: ${{ REMOTE_DIR }}
ARGS: --delete --verbose --parallel=100