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