You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
339 B
YAML

6 years ago
---
stages:
- deploy
Upload to webserver:
6 years ago
stage: deploy
6 years ago
only:
- master
6 years ago
script:
- yum install -y lftp
6 years ago
- |
lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; \
mirror -Rev ./ ./www --ignore-time --parallel=10 \
6 years ago
--exclude-glob .git* --exclude .git/"