Verified Commit 2d2c55c3 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Allow tags for documentation updates

parent f5473286
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ name: Deploy Sphinx documentation to Pages

on:
  push:
    tags: ["v[0-9]+.[0-9]+.[0-9]+"]
    tags: ["v[0-9]+.[0-9]+.[0-9]+(-[0-9]+)?"]

jobs:
  build:
+5 −1
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ workflow:
  - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$$/
    variables:
      PUSH_PACKAGE: "true"
      PUSH_DOCS: "true"
  - 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]+/
  - if: $CI_COMMIT_BRANCH

@@ -170,7 +174,7 @@ pages:
  image: alpine
  dependencies: [Documentation]
  rules:
  - if: $PUSH_PACKAGE
  - if: $PUSH_DOCS
  script:
  - mv build/html public
  artifacts: