.gitlab-ci.yml 409 Bytes
Newer Older
Phil's avatar
Phil committed
1
---
Nick Busey's avatar
Nick Busey committed
2 3 4 5
image: python:alpine

pages:
  script:
6 7
    - pip install mkdocs
    - pip install mkdocs-material
Phil's avatar
Phil committed
8 9
    - mkdocs build
    - mv site public
Nick Busey's avatar
Nick Busey committed
10 11
  artifacts:
    paths:
Phil's avatar
Phil committed
12
      - public
Nick Busey's avatar
Nick Busey committed
13
  only:
Phil's avatar
Phil committed
14
    - master
Phil's avatar
Phil committed
15 16 17

lint_yaml_files:
  script:
Phil's avatar
Phil committed
18
    - pip install yamllint
Nick Busey's avatar
Nick Busey committed
19
    - find . -type f -name '*.yml' | sed 's|\./||g' | egrep -v '(\.kitchen/|\[warning\]|\.molecule/)' | xargs yamllint -c yamllint.conf -f parsable
Phil's avatar
Phil committed
20
...