Commit b937c3eb authored by chrissi^'s avatar chrissi^

fixup! gitlab-ci: Temporarily Deactivate Artifact upload

Signed-off-by: chrissi^'s avatarChris Fiege <chris@tinyhost.de>
parent 643a0180
Pipeline #1270 failed
stages:
- prepare
- build
# - prepare
# - build
- deploy
# cache installed bundle packages in vendor/
......@@ -12,19 +12,19 @@ cache:
- .bundle/
- source/images/thumbs/
prepare:
stage: prepare
script:
- bundle install -j4 --path=vendor/ --deployment
build:
stage: build
script:
- rm -rf public/ && bundle exec rake generate
# artifacts:
# paths:
# - public/
# expire_in: 1 week
#prepare:
# stage: prepare
# script:
# - bundle install -j4 --path=vendor/ --deployment
#
#build:
# stage: build
# script:
# - rm -rf public/ && bundle exec rake generate
# # artifacts:
# # paths:
# # - public/
# # expire_in: 1 week
deploy:
stage: deploy
......@@ -34,6 +34,8 @@ deploy:
dependencies:
- build
script:
- bundle install -j4 --path=vendor/ --deployment
- rm -rf public/ && bundle exec rake generate
- echo "Deploying to regolas:/srv/www/blog-preview/${CI_COMMIT_REF_SLUG}/"
- ssh s0-blog@regolas mkdir -p /srv/www/blog-preview/${CI_COMMIT_REF_SLUG}/
- rsync -v --recursive --delete --stats --chmod=D2755,F644 public/blog/ s0-blog@regolas:/srv/www/blog-preview/${CI_COMMIT_REF_SLUG}/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment