From fda213472e87744d47b42d5e76c4f8f192cc0850 Mon Sep 17 00:00:00 2001 From: fanky <jakub.webisti@gmail.com> Date: Wed, 21 Apr 2021 12:48:02 +0200 Subject: [PATCH] Revert "added FTP deploy" This reverts commit 8fc1cf0df557811a4cd652b0a495a43c67155492 --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0773265..835c695 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,9 +16,7 @@ build: after_script: - TAG=`git describe --tags $(git rev-list --tags --max-count=1)` - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\", \"tag\":\"$TAG\" }" > request.json - - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL" - - apt-get update -qq && apt-get install -y -qq lftp - - lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rev dist/ ./public --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/" + - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL" artifacts: expire_in: 30 min paths: -- GitLab