Skip to content
Snippets Groups Projects
Commit 6ac6ee4c authored by fanky's avatar fanky
Browse files

Merge branch 'revert-8fc1cf0d' into 'ui_styleguide'

Revert "added FTP deploy"

See merge request fanky/ui_styleguide!1
parents 8fc1cf0d fda21347
No related branches found
No related tags found
1 merge request!1Revert "added FTP deploy"
Pipeline #3168 passed
...@@ -16,9 +16,7 @@ build: ...@@ -16,9 +16,7 @@ build:
after_script: after_script:
- TAG=`git describe --tags $(git rev-list --tags --max-count=1)` - TAG=`git describe --tags $(git rev-list --tags --max-count=1)`
- echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\", \"tag\":\"$TAG\" }" > request.json - 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" - "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/"
artifacts: artifacts:
expire_in: 30 min expire_in: 30 min
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment