From 2110eb2615ccf55f7e40b1290da87510e25c1cfc Mon Sep 17 00:00:00 2001 From: Niko Parviainen <k8573@student.jamk.fi> Date: Wed, 23 Jan 2019 17:31:46 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f027c09..be65921 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,13 @@ - -image: python:3.7.1-slim +# This file is a template, and might need editing before it works on your project. +# Full project: https://gitlab.com/pages/plain-html pages: - script: - - pip install mkdocs - - pip install mkdocs-material - - mkdocs --version - - mkdocs build - artifacts: - paths: - - public - tags: - - general \ No newline at end of file + stage: deploy + script: + - mkdir .public + - cp -r * .public + - mv .public public + artifacts: + paths: + - public + only: + - master -- GitLab