diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..83ac161 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +image: python:latest +pages: + stage: deploy + only: + - master + script: + - pip install mkdocs-material + - mkdocs build --site-dir public + artifacts: + paths: + - public diff --git a/mkdocs.yml b/mkdocs.yml index 5fd394b..71dec2f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,6 @@ site_name: Space Invader's site_url: https://example.com/ +repo_url: https://gitlab.com/leopold_clement/Space_Invaders theme: material nav :