Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- HOST: "ftp://{url}/public_html/{ruta}"
- USERNAME: "user"
- PASSWORD: "password"
- deploy:
- script:
- - apt-get update -qq && apt-get install -y -qq lftp
- - lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./ ./ --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"
- only:
- - {rama}
Add Comment
Please, Sign In to add comment