This commit is contained in:
parent
442821e401
commit
459162cd12
15
.drone.yml
15
.drone.yml
@ -11,15 +11,14 @@ steps:
|
|||||||
- npm run build
|
- npm run build
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: cschlosser/drone-ftps
|
image: mwienk/docker-lftp
|
||||||
environment:
|
environment:
|
||||||
FTP_USERNAME:
|
USERNAME:
|
||||||
from_secret: username
|
from_secret: username
|
||||||
FTP_PASSWORD:
|
PASSWORD:
|
||||||
from_secret: password
|
from_secret: password
|
||||||
PLUGIN_HOSTNAME:
|
HOST:
|
||||||
from_secret: host
|
from_secret: host
|
||||||
PLUGIN_DEST_DIR: /www
|
commands:
|
||||||
PLUGIN_SRC_DIR: /build
|
- "ls"
|
||||||
PLUGIN_EXCLUDE: (.htaccess)|(.git)
|
- lftp -c "open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./build ./www --ignore-time --parallel=10 --exclude .htaccess --exclude-glob .git* --exclude .git/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user