]> git.r.bdr.sh - rbdr/lyricli/blob - .gitlab-ci.yml
225ceac6d542c5f125c7183f7b1cbae65eca63dc
[rbdr/lyricli] / .gitlab-ci.yml
1 image: lyriclitest/swift:5.0.1
2
3 stages:
4 - lint
5 - document
6 - deploy
7
8 cache:
9 key: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}
10 paths:
11 - .build/
12
13 lint:
14 stage: lint
15 script:
16 - make lint
17
18 document:
19 stage: document
20 script:
21 - make document
22 artifacts:
23 paths:
24 - docs
25
26 pages:
27 stage: deploy
28 script:
29 - mv docs public
30 artifacts:
31 paths:
32 - public