Loading .github/workflows/pages.yml +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ name: Deploy Sphinx documentation to Pages on: push: tags: ["v[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?"] tags: - "v[0-9]+.[0-9]+.[0-9]+" - "v[0-9]+.[0-9]+.[0-9]+-[0-9]+" jobs: build: Loading .gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ workflow: variables: PUSH_PACKAGE: "true" PUSH_DOCS: "true" - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9]+)?$$/ - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+-[0-9]+$$/ variables: PUSH_DOCS: "true" - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ Loading Loading @@ -130,7 +130,7 @@ Upload Package (Test): extends: [.python] dependencies: ["Build Package"] rules: - if: $CI_COMMIT_TAG - if: $PUSH_PACKAGE script: - pip install twine - TWINE_USERNAME=gitlab-ci-token Loading Loading
.github/workflows/pages.yml +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ name: Deploy Sphinx documentation to Pages on: push: tags: ["v[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?"] tags: - "v[0-9]+.[0-9]+.[0-9]+" - "v[0-9]+.[0-9]+.[0-9]+-[0-9]+" jobs: build: Loading
.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ workflow: variables: PUSH_PACKAGE: "true" PUSH_DOCS: "true" - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9]+)?$$/ - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+-[0-9]+$$/ variables: PUSH_DOCS: "true" - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ Loading Loading @@ -130,7 +130,7 @@ Upload Package (Test): extends: [.python] dependencies: ["Build Package"] rules: - if: $CI_COMMIT_TAG - if: $PUSH_PACKAGE script: - pip install twine - TWINE_USERNAME=gitlab-ci-token Loading