renewedtab_website/.gitlab-ci.yml

35 lines
520 B
YAML

image: jekyll/jekyll:4
variables:
JEKYLL_ENV: production
LC_ALL: C.UTF-8
before_script:
- rm Gemfile.lock
test:
stage: test
interruptible: true
script:
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
interruptible: true
before_script:
- rm Gemfile.lock
- apk add --update curl
- rm -rf /var/cache/apk/*
script:
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master