Skip to content

Commit 99ace6e

Browse files
Publishing docs on release. (#175)
One of these days I'll get this right.
1 parent 5febc14 commit 99ace6e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/cetlvast.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
jobs:
1414
cache-warmup:
1515
if: >
16+
github.event_name == 'release' ||
17+
github.event_name == 'workflow_dispatch' ||
1618
contains(github.event.head_commit.message, '#verification') ||
1719
contains(github.event.head_commit.message, '#docs') ||
1820
contains(github.ref, '/main') ||
@@ -35,6 +37,8 @@ jobs:
3537

3638
verification-amd64:
3739
if: >
40+
github.event_name == 'release' ||
41+
github.event_name == 'workflow_dispatch' ||
3842
contains(github.event.head_commit.message, '#verification') ||
3943
contains(github.ref, '/main') ||
4044
contains(github.ref, '/issue/') ||
@@ -74,6 +78,8 @@ jobs:
7478

7579
verification-arm64:
7680
if: >
81+
github.event_name == 'release' ||
82+
github.event_name == 'workflow_dispatch' ||
7783
contains(github.event.head_commit.message, '#verification') ||
7884
contains(github.ref, '/main') ||
7985
contains(github.ref, '/issue/') ||
@@ -113,6 +119,8 @@ jobs:
113119

114120
docs:
115121
if: >
122+
github.event_name == 'release' ||
123+
github.event_name == 'workflow_dispatch' ||
116124
contains(github.event.head_commit.message, '#docs') ||
117125
contains(github.ref, '/main') ||
118126
contains(github.ref, '/issue/') ||
@@ -146,6 +154,8 @@ jobs:
146154

147155
sonarqube:
148156
if: >
157+
(github.event_name == 'release' && !github.event.release.prerelease) ||
158+
github.event_name == 'workflow_dispatch' ||
149159
contains(github.event.head_commit.message, '#sonar') ||
150160
contains(github.ref, '/main') ||
151161
contains(github.ref, '/issue/') ||

0 commit comments

Comments
 (0)