Skip to content

Commit aa5ceeb

Browse files
committed
update main workflow on release
1 parent c6e2336 commit aa5ceeb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Knative Tutorial
22

33
on:
4-
push:
5-
branches:
6-
- 'release-v1.13.*'
4+
release:
5+
types: [published]
76
env:
87
SITE_DIR: "gh-pages"
98

@@ -26,5 +25,5 @@ jobs:
2625
github_token: ${{ secrets.GITHUB_TOKEN }}
2726
publish_dir: "${{ env.SITE_DIR }}"
2827
publish_branch: "gh-pages"
29-
full_commit_message: "[CI]${{ github.event.head_commit.message }}"
28+
full_commit_message: "[Release]${{ github.event.head_commit.message }}"
3029

0 commit comments

Comments
 (0)