Skip to content

Commit 2ec3c40

Browse files
authored
Update gh-pages.yml
1 parent cd30903 commit 2ec3c40

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/gh-pages.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ jobs:
1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
1313
steps:
14-
- uses: actions/checkout@v3
15-
- name: Checkout submodules
16-
shell: bash
17-
run: |
18-
git submodule sync --recursive
19-
git submodule update --init --force --recursive --depth=1
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
fetch-depth: 0
2018

2119
- name: Setup Hugo
2220
uses: peaceiris/actions-hugo@v2
@@ -28,9 +26,10 @@ jobs:
2826
run: hugo --gc --minify --cleanDestinationDir
2927

3028
- name: Deploy
31-
uses: peaceiris/actions-gh-pages@v3
29+
uses: peaceiris/actions-gh-pages@v4
3230
with:
3331
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
3432
external_repository: 'hellupline/hellupline.github.io'
3533
publish_branch: 'main'
3634
publish_dir: './public'
35+
cname: 'hellupline.dev'

0 commit comments

Comments
 (0)