Skip to content

Commit c490c76

Browse files
committed
Run release site action only for release tags
1 parent 7c5744d commit c490c76

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release-site.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
name: Release site
1616

1717
on:
18-
workflow_dispatch:
18+
push:
19+
tags: ['[0-9]+.[0-9]+*']
1920

2021
jobs:
2122
release-site:
@@ -36,4 +37,4 @@ jobs:
3637
with:
3738
folder: 'docs'
3839
target-folder: 'apidocs'
39-
commit-message: 'Initial content'
40+
commit-message: 'Updated for version ${{ github.ref_name }}'

0 commit comments

Comments
 (0)