Skip to content

Commit 380b379

Browse files
committed
ci: fix the doc generation trigger [skip ci]
1 parent 00c6f52 commit 380b379

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: docs
22
on:
3-
create:
4-
types: [tag]
3+
push:
4+
tags:
5+
- "*"
56

67
jobs:
78
Docs:
9+
if: "startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip ci]')"
810
runs-on: ubuntu-22.04
911
strategy:
1012
fail-fast: false

0 commit comments

Comments
 (0)