Skip to content

Commit

Permalink
add gitlab pages generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gumprich committed Sep 7, 2022
1 parent 8b10635 commit 4c78c64
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
stages:
- docs
- deploy

include:
- project: shared/gitlab/docs-as-gitlab-pages
ref: main
file:
- update-static-docs.yml

update-static-docs:
only:
- main

pages:
only:
- main
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

A collection of good and bad Ansible code examples.

* [Name your tasks](good_and_bad_practices/name_your_tasks.md)
* [Use Modules before run-commands](good_and_bad_practices/use_modules_before_run_commands.md)
* [Use native yaml syntax](good_and_bad_practices/use_native_yaml_syntax.md)
* [Use the copy- or template-module instead of lineinfile-module](good_and_bad_practices/use_copy_template_instead_of_lineinfile.md)
* [Name your tasks](docs/name_your_tasks.md)
* [Use Modules before run-commands](docs/use_modules_before_run_commands.md)
* [Use native yaml syntax](docs/use_native_yaml_syntax.md)
* [Use the copy- or template-module instead of lineinfile-module](docs/use_copy_template_instead_of_lineinfile.md)

## Contributing

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions mkdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
site_name: Ansible - Good and Bad Practices

0 comments on commit 4c78c64

Please sign in to comment.