Guest User

Untitled

a guest
Jul 11th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. variables:
  2. HOST: "ftp://{url}/public_html/{ruta}"
  3. USERNAME: "user"
  4. PASSWORD: "password"
  5.  
  6. deploy:
  7. script:
  8. - apt-get update -qq && apt-get install -y -qq lftp
  9. - lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rnev ./ ./ --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/"
  10. only:
  11. - {rama}
Add Comment
Please, Sign In to add comment