From 731567dd4f1a5c23ff3c7e1cf09ef551318fd22c Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Thu, 31 Aug 2017 21:17:36 +0200 Subject: [PATCH] upload files to ui.basispanel.de --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67c973e..9850fbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,4 +35,7 @@ deploy_master: - build_ui stage: deploy script: - - lftp --version + - mkdir _for_upload + - mv assets build conf index.html _for_upload + - lftp -c "open -u intern_basispanel_ui,$FTP_PASSWORD sftp://ftp.basehosts.de;mkdir -f /$CI_COMMIT_REF_NAME; mirror -v -c -e -R -L _for_upload /$CI_COMMIT_REF_NAME/" +