diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2844d4a068891a67932c563aad013d276262c3c2..3a277bc046e8080032fde76a90bec5ee9e972d6e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,14 @@ -zip: +# Repository is private, so are the artifacts. +# However, if we can abuse the gitlab pages mechanism, we might be able to +# Link the zip still! +pages: stage: deploy script: - - echo "Script part cannot be empty." + - make zip + - mkdir public + - move thesis.zip public/ artifacts: - name: thesis paths: - - "*" - exclude: - - ".gitlab-ci.yml" - # See https://gitlab.com/gitlab-org/gitlab/-/issues/11091#note_790389715 - - ".git" - - ".git/*" - - ".git/*/*" - - ".git/*/*/*" - - ".git/*/*/*/*" - - ".git/*/*/*/*/*" + - public only: - master