Skip to content

Commit 1a1d1a3

Browse files
committed
👷 Updated commit messages upon Pages deployment
1 parent e693dc1 commit 1a1d1a3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ jobs:
133133
destination_dir: dev
134134
force_orphan: false
135135
keep_files: true
136+
enable_jekyll: false
137+
user_name: 'github-actions[bot]'
138+
user_email: 'github-actions[bot]@users.noreply.github.com'
139+
commit_message: 'deploy: update dev docs from ${{ github.ref_name }}'
136140

137141
- name: Deploy to GitHub Pages (version specific)
138142
uses: peaceiris/actions-gh-pages@v3
@@ -144,6 +148,10 @@ jobs:
144148
destination_dir: v${{ env.PACKAGE_VERSION }}
145149
force_orphan: false
146150
keep_files: true
151+
enable_jekyll: false
152+
user_name: 'github-actions[bot]'
153+
user_email: 'github-actions[bot]@users.noreply.github.com'
154+
commit_message: 'deploy: update v${{ env.PACKAGE_VERSION }} docs from tag ${{ github.ref_name }}'
147155

148156
- name: Deploy to GitHub Pages (latest stable)
149157
uses: peaceiris/actions-gh-pages@v3
@@ -155,6 +163,10 @@ jobs:
155163
destination_dir: latest
156164
force_orphan: false
157165
keep_files: true
166+
enable_jekyll: false
167+
user_name: 'github-actions[bot]'
168+
user_email: 'github-actions[bot]@users.noreply.github.com'
169+
commit_message: 'deploy: update latest docs from ${{ github.ref_name }}'
158170

159171
# Generate root index page
160172
- name: Prepare root files
@@ -181,3 +193,7 @@ jobs:
181193
destination_dir: ./
182194
force_orphan: false
183195
keep_files: true
196+
enable_jekyll: false
197+
user_name: 'github-actions[bot]'
198+
user_email: 'github-actions[bot]@users.noreply.github.com'
199+
commit_message: 'deploy: update root files from ${{ github.ref_name }}'

0 commit comments

Comments
 (0)