Verified Commit 0b755fc7 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix CI pipelines for tags (hopefully 🤞)

parent 2d2c55c3
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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:
+2 −2
Original line number Diff line number Diff line
@@ -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]+/
@@ -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