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
369 B
YAML
14 lines
369 B
YAML
---
|
|
stages:
|
|
- deploy
|
|
Upload to webserver:
|
|
stage: deploy
|
|
only:
|
|
- master
|
|
script:
|
|
- apt-get update -qq && apt-get install -y -qq lftp
|
|
- |
|
|
lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; \
|
|
mirror -Rev ./ ./www --ignore-time --parallel=10 \
|
|
--exclude-glob .git* --exclude .git/"
|