Skip to content

Commit 5d5ddb9

Browse files
committed
Trigger docs deployment based on tags creation
1 parent 07b1bc8 commit 5d5ddb9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build and Deploy Documentation
33
on:
44
push:
55
branches: [ main ]
6+
tags: [ 'v*' ]
67
workflow_dispatch: # Allow manual triggering
78

89
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
@@ -54,7 +55,7 @@ jobs:
5455
- name: Upload CMS docs artifact
5556
uses: actions/upload-artifact@v4
5657
with:
57-
name: cloudai-docs-cms
58+
name: cloudai-docs-cms-${{ github.ref_name }}
5859
path: doc/_build-cms/html
5960

6061
deploy:

0 commit comments

Comments
 (0)