deploy-test
This commit is contained in:
parent
5baf6f68a4
commit
831a3fe1ab
|
|
@ -1,4 +1,4 @@
|
|||
name: Deploy Test
|
||||
name: Deploy https://d2.pub
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -6,7 +6,8 @@ on:
|
|||
- master
|
||||
|
||||
env:
|
||||
REPO:
|
||||
LOCAL_DIR: dist
|
||||
REMOTE_DIR: /www/d2-admin/preview
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
@ -28,6 +29,6 @@ jobs:
|
|||
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
|
||||
METHOD: sftp
|
||||
PORT: ${{ secrets.FTP_PORT }}
|
||||
LOCAL_DIR: dist
|
||||
REMOTE_DIR: /www/${GITHUB_REPOSITORY//*\//}/preview
|
||||
LOCAL_DIR: ${{ LOCAL_DIR }}
|
||||
REMOTE_DIR: ${{ REMOTE_DIR }}
|
||||
ARGS: --delete --verbose --parallel=100
|
||||
Loading…
Reference in New Issue