ci: Build web site.
This commit is contained in:
parent
f108b70c83
commit
e39f445e4a
1 changed files with 25 additions and 0 deletions
25
.gitlab-ci.yml
Normal file
25
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
image: debian:buster-slim
|
||||||
|
before_script:
|
||||||
|
- apt update -qq
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
build_job:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 make hugo
|
||||||
|
- make
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: normal
|
||||||
|
|
||||||
|
deploy_job:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- /bin/false # not implemented
|
||||||
|
only:
|
||||||
|
- master
|
||||||
Loading…
Add table
Add a link
Reference in a new issue