Skip to content

Commit

Permalink
Update and rename HugoAction.yml to hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Shum authored Feb 19, 2025
1 parent 8a2e744 commit a5600db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
deploy:
runs-on: ubuntu-20.04 # 在什么环境运行任务
steps:
- uses: actions/checkout@v3 # 引用 actions/checkout 这个 action,与所在的 github 仓库同名
- uses: actions/checkout@v4 # 引用 actions/checkout 这个 action,与所在的 github 仓库同名
with:
submodules: true # Fetch Hugo themes (true OR recursive) 获取 submodule 主题
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
Expand All @@ -25,7 +25,7 @@ jobs:
pwd
ls
cp -R exampleSite/* .
hugo --themesDir ../ --baseURL https://shenweiyan.github.io/WebStack-Hugo/
hugo --themesDir ../ --baseURL https://webstack-hugo.weiyan.cc/
- name: Deploy Pages
uses: peaceiris/actions-gh-pages@v3 # 一个自动发布 github pages 的 action
Expand Down

0 comments on commit a5600db

Please sign in to comment.