Add gitlab pages task with docs.
This commit is contained in:
parent
8f63a7c639
commit
04f6036553
2 changed files with 15 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -22,3 +22,4 @@ erl_crash.dump
|
|||
# Ignore package tarball (built via "mix hex.build").
|
||||
wafer-*.tar
|
||||
|
||||
/public/
|
||||
|
|
|
@ -16,17 +16,31 @@ before_script:
|
|||
- mix deps.get --only test
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- mix test
|
||||
|
||||
credo:
|
||||
stage: test
|
||||
script:
|
||||
- mix credo
|
||||
|
||||
audit:
|
||||
stage: test
|
||||
script:
|
||||
- mix hex.audit
|
||||
|
||||
format:
|
||||
stage: test
|
||||
script:
|
||||
- mix format --check-formatted
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mix docs -o public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
|
|
Loading…
Reference in a new issue