Skip to content

Instantly share code, notes, and snippets.

@maxdeepfield
Created August 25, 2017 08:42
Show Gist options
  • Save maxdeepfield/0f2de32439d7d6047807174a502e577d to your computer and use it in GitHub Desktop.
Save maxdeepfield/0f2de32439d7d6047807174a502e577d to your computer and use it in GitHub Desktop.
gitlab-ci ftp deploy recipe
stages:
- deploy
ftp:
stage: deploy
script:
- lftp -e "mirror -Re . ./web;quit" -u $CI_BUILD_REF_NAME.$FTP_USER,$CI_BUILD_REF_NAME.$FTP_PASS $FTP_HOST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment