diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 929001066a2efa52999adcb62f3b18a13d2e613d..0d9e2772286095451bd58fc09f6423b5197342ad 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'