diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c1d8d6..741ad2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,9 +18,9 @@ deploy via lftp: script: - hexo clean # Hexo clean previous static site - hexo generate # Hexo generate Static Site - - lftp -e "set ssl:verify-certificate no; open $FTP_HOST; user $FTP_USERNAME $FTP_PASSWORD $FTP_PORT; mirror -X .* -X .*/ --reverse --verbose --delete local-folder/ destination-folder/; bye" + - lftp -e "set ssl:verify-certificate no; open $FTP_HOST; user $FTP_USERNAME $FTP_PASSWORD $FTP_PORT; mirror -X .* -X .*/ --reverse --verbose --delete public/ $FTP_REMOTE_PATH/; bye" artifacts: paths: - public only: - - master # this job will affect only the 'master' branch \ No newline at end of file + - master # this job will affect only the 'master' branch