From 9f618971d00b1bbe29a112d0d2ffa5ece8fbd1de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Michel=20Gori=C3=9Fen?= <leon.gorissen@llt.rwth-aachen.de> Date: Wed, 13 Mar 2024 11:10:39 +0100 Subject: [PATCH] docs: update pipeline --- .gitlab-ci.yml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9290010..0d9e277 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,20 +1,20 @@ image: sphinxdoc/sphinx:latest -variables: - GITLAB_ACCESS_TOKEN: glpat-hrq9xd8ghm7URq93rmez +#variables: +# GITLAB_ACCESS_TOKEN: glpat-hrq9xd8ghm7URq93rmez stages: - - unspam - - test +# - unspam +# - test - deploy -test: - stage: test - script: - - pip install pydata-sphinx-theme - - python -m sphinx -b html docs/ public - rules: - - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH +#test: +# stage: test +# script: +# - pip install pydata-sphinx-theme +# - python -m sphinx -b html docs/ public +# rules: +# - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH pages: stage: deploy @@ -27,15 +27,15 @@ pages: rules: - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH -on_push: - stage: unspam - script: - - pip install python-gitlab - - python3 unspam.py - artifacts: - when: always - paths: - - backup - expire_in: 4 weeks - rules: - - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_REF_PROTECTED == 'true' +#on_push: +# stage: unspam +# script: +# - pip install python-gitlab +# - python3 unspam.py +# artifacts: +# when: always +# paths: +# - backup +# expire_in: 4 weeks +# rules: +# - if: $CI_PIPELINE_SOURCE == 'push' && $CI_COMMIT_REF_PROTECTED == 'true' -- GitLab