This commit is contained in:
5
.github/workflows/prerelease-docs.yml
vendored
5
.github/workflows/prerelease-docs.yml
vendored
@@ -3,7 +3,7 @@ name: Pre-release - Build and publish docs
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*-rc.*"
|
- "v*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -11,6 +11,9 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prerelease:
|
prerelease:
|
||||||
|
if: >
|
||||||
|
startsWith(github.ref_name, 'v')
|
||||||
|
&& contains(github.ref_name, '-rc')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
9
.github/workflows/release-docs.yml
vendored
9
.github/workflows/release-docs.yml
vendored
@@ -2,18 +2,17 @@ name: Release - Build and publish docs
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
|
||||||
tags:
|
tags:
|
||||||
- "v*"
|
- "v*"
|
||||||
- "!v*-rc.*"
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
if: ${{ !contains(github.ref_name, '-rc.') }}
|
if: >
|
||||||
|
startsWith(github.ref_name, 'v')
|
||||||
|
&& !contains(github.ref_name, '-rc')}}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user