Former-commit-id: 24699b60138c01fd073d51c9ea3e37a6f28d8e7f
Former-commit-id: 5e5fb71843f0370ff1bd7d0feef2e2f862429da3
Former-commit-id: e421e1f50a8bb91cd13b1428ffbb8c9901035030
Former-commit-id: 90fbd5aae066846c3ebb973f4eb1cdf7812b7a21 [formerly 6365c03c98573d02778bf5492977059c87788107]
Former-commit-id: b02c3125f0d67659a3b42d66e3afa68b26e97a66
Former-commit-id: fb1f42274963375be0b8443114c854d2c173f373
Former-commit-id: 48854c50b57f16653d38ea15900ee208f1c5b069
Former-commit-id: a289c174c92f9182ead48da7300a3ac0e6b52450
Former-commit-id: ef9b6ded81b17ed86dbc5262832df5eff20453a9
This commit is contained in:
FairyEver
2019-12-12 09:16:53 +08:00
parent 0c1bc53ae0
commit e80bebc379

View File

@@ -17,6 +17,9 @@ 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:
@@ -26,5 +29,5 @@ jobs:
METHOD: sftp
PORT: ${{ secrets.FTP_PORT }}
LOCAL_DIR: dist
REMOTE_DIR: /www/${GITHUB_REPOSITORY//*\//}/preview
REMOTE_DIR: $REMOTE_DIR
ARGS: --delete --verbose --parallel=100