.gitlab-ci.yml 339 Bytes
Newer Older
1
image:
Caleb Connolly's avatar
Caleb Connolly committed
2
3
  name: archlinux

4
5
6
7
8
variables:
  GIT_SUBMODULE_STRATEGY: recursive

stages:
  - test
Thomas Lake's avatar
Thomas Lake committed
9
  - build
10
11
12
13
14
15

test-compile:
  stage: test
  script:
    - hugo

Thomas Lake's avatar
Thomas Lake committed
16
17
build:
  stage: build
18
19
20
21
  only:
    refs:
      - master
  before_script:
Thomas Lake's avatar
Thomas Lake committed
22
    - pacman -Sy --noconfirm hugo
23
24
  script:
    - hugo
Caleb Connolly's avatar
Caleb Connolly committed
25
26
27
  artifacts:
    paths:
      - public
Thomas Lake's avatar
Thomas Lake committed
28
    expire_in: 1 week