deploy-test
This commit is contained in:
4
.github/workflows/deploy-test.yml
vendored
4
.github/workflows/deploy-test.yml
vendored
@@ -6,7 +6,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REPO: ${{ $GITHUB_REPOSITORY//*\// }}
|
REPO:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -29,5 +29,5 @@ jobs:
|
|||||||
METHOD: sftp
|
METHOD: sftp
|
||||||
PORT: ${{ secrets.FTP_PORT }}
|
PORT: ${{ secrets.FTP_PORT }}
|
||||||
LOCAL_DIR: dist
|
LOCAL_DIR: dist
|
||||||
REMOTE_DIR: /www/d2-admin/preview
|
REMOTE_DIR: ${{ /www/${GITHUB_REPOSITORY//*\//}/preview }}
|
||||||
ARGS: --delete --verbose --parallel=100
|
ARGS: --delete --verbose --parallel=100
|
||||||
Reference in New Issue
Block a user