This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch test-build
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/test-build by this push:
new b7dc9868 Update hugo.yml
b7dc9868 is described below
commit b7dc9868fc11a4fc65ac92ad38490e93a0274810
Author: imbajin <[email protected]>
AuthorDate: Wed Sep 14 19:43:23 2022 +0800
Update hugo.yml
---
.github/workflows/hugo.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml
index a4aa5330..081dc0a2 100644
--- a/.github/workflows/hugo.yml
+++ b/.github/workflows/hugo.yml
@@ -14,7 +14,6 @@
# limitations under the License.
# Sample workflow for building and deploying a Hugo site to GitHub Pages
-# Refer: https://github.com/marketplace/actions/github-pages-action
name: Deploy site to pages (hugo)
on:
@@ -64,6 +63,8 @@ jobs:
if: ${{ github.event_name == 'push' || github.ref ==
'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- #
https://gohugo.io/hosting-and-deployment/hosting-on-github/#github-pages-setting
+ # Refer: https://github.com/marketplace/actions/github-pages-action
publish_dir: ./public
- publish_branch: asf-site # Settings > GitHub Pages set the source
branch to this publish_branch
+ publish_branch: asf-site
+ exclude_assets: '.github,.asf.yaml'
+ commit_message: ${{ github.event.head_commit.message }}