diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07732656d298f035c2deb7837f24bcc6d86c007f..835c69579048a211a2ad1f9362aaa9a3d2995218 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: