gitlab-ci: GitStats page in GitLab Pages

This commit is contained in:
Hans-Christoph Steiner 2018-09-21 10:13:11 +02:00
parent 8f3a73f035
commit c138e75a8d

View file

@ -39,3 +39,20 @@ lint:
- git --no-pager diff --name-only --exit-code || export EXITVALUE=1 - git --no-pager diff --name-only --exit-code || export EXITVALUE=1
- ./tools/check-keyalias-collision.py || export EXITVALUE=1 - ./tools/check-keyalias-collision.py || export EXITVALUE=1
- exit $EXITVALUE - exit $EXITVALUE
pages:
image: ruby:2.3
stage: deploy
only:
- schedules
- master@fdroid/fdroiddata
cache:
paths:
- vendor/ruby
artifacts:
paths:
- public
script:
- rm -rf public
- gem install git_stats
- git_stats generate --silent --out-path=public