diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30977d45f1475dec92472dc6d95c63540314bacf..36734f5b4f0b0186992d95f361d82b75a7478902 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,16 +33,8 @@ Push Wheel to Package Registry: - python -m twine upload -u gitlab-ci-token -p $CI_JOB_TOKEN --verbose --repository-url https://git-ce.rwth-aachen.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/* Build Documentation: - # image: docker:20.10 - # stage: build - # only: - # - master - # tags: - # - frodo - # script: - # - docker build -t ${CI_REGISTRY}/${CI_PROJECT_PATH} . image: python:3.9 - stage: build + stage: deploy tags: - frodo only: @@ -56,28 +48,3 @@ Build Documentation: artifacts: paths: - public - -#Push Documentation: -# image: docker:20.10 -# stage: push -# only: -# - master -# tags: -# - frodo -# script: -# - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY -# - docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}:latest - -#Deploy Documentation: -# stage: deploy -# only: -# - master -# tags: -# - sam -# needs: ["Push Documentation"] -# script: -# - ls -# - docker stop documentation-mqtt -# - docker container rm documentation-mqtt -# - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY -# - docker-compose up -d