diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37402896..f028ee05 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ stages: - build - test - publish + - deploy build: stage: build @@ -38,6 +39,17 @@ audit: tags: - docker +pages: + stage: deploy + script: + - npm run documentation + - mv docs public + only: + - /^v[0-9]+\.[0-9]+\.[0-9]+$/ + artifacts: + paths: + - public + scheduled-audit: stage: test script: @@ -171,14 +183,3 @@ custom:gi-u: custom:ks-ug: <<: *publish_template_manual - -publish:pages: - stage: publish - script: - - npm run documentation - - mv docs public - only: - - /^v[0-9]+\.[0-9]+\.[0-9]+$/ - artifacts: - paths: - - public