mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-26 11:33:08 +00:00
43 lines
747 B
YAML
43 lines
747 B
YAML
---
|
|
dist: focal
|
|
language: python
|
|
|
|
services: docker
|
|
|
|
env:
|
|
- playbook: nas.yml
|
|
distro: ubuntu2004
|
|
test_syntax: true
|
|
test_playbook: false
|
|
test_idempotence: false
|
|
|
|
before_install:
|
|
- sudo apt-get -y install ansible
|
|
|
|
install:
|
|
- sudo apt install ansible
|
|
- pip install ansible-lint
|
|
- pip install mkdocs
|
|
- pip install mkdocs-material
|
|
|
|
script:
|
|
- ansible-lint ${PWD}/nas.yml -x 106,208
|
|
- ${PWD}/tests/test.sh
|
|
- mkdocs build
|
|
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
local-dir: site/
|
|
github-token: $GHPAGES
|
|
keep-history: true
|
|
on:
|
|
branch: master
|
|
|
|
notifications:
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/bd52710d464f2b82036b
|
|
on_success: change
|
|
on_failure: always
|
|
on_start: never
|