hugo-site/.gitlab-ci.yml
2016-04-19 22:06:05 +00:00

24 lines
492 B
YAML

image: publysher/hugo
cache:
paths:
- /var/cache/apt/archives/
before_script:
- apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev build-essential
- wget https://github.com/git/git/archive/v1.9.4.tar.gz
- tar -zxf v1.9.4.tar.gz
- cd git-1.9.4
- git config --global user.name "NewUser"
- git config --global user.email newuser@example.com
- git config --list
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master