libhandy-rs/.gitlab-ci.yml
Christopher Davis d3ceeaa43f Add gitlab CI for Pages
Sets up CI to build documentation for master,
to be published on GitLab Pages.
2019-10-23 10:32:06 -07:00

20 lines
371 B
YAML

variables:
FEDORA_DEPS: rust cargo git libhandy-devel
pages:
image: 'registry.fedoraproject.org/fedora:31'
stage: deploy
before_script:
- dnf update -y
- dnf install -y $FEDORA_DEPS
script:
- git submodule update --init
- cargo doc -p libhandy
- mv target/doc/ public
artifacts:
paths:
- public
only:
refs:
- master