fix yml syntax

master
Jan Vais 6 years ago
parent 246f044d38
commit ec8c7e073e

@ -1,7 +1,12 @@
deploy: // You can name your task however you like
stage: deploy
---
stages:
- deploy
Upload to webserver:
stage deploy:
only:
- master
deploy:
script:
- lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rev ./ ./ --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"
script:
- |
lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; \
mirror -Rev ./ ./ --ignore-time --parallel=10 \
--exclude-glob .git* --exclude .git/"

Loading…
Cancel
Save