Skip to content

Commit 259bc33

Browse files
committed
Adding the gh pages ref
1 parent df27839 commit 259bc33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/hugo-gh-pages.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Hugo site to Pages
1+
name: Deploy Hugo to GH-Pages
22

33
on:
44
push:
@@ -29,6 +29,7 @@ jobs:
2929
- name: Checkout
3030
uses: actions/checkout@v4
3131
with:
32+
ref: ${{ github.event.client_payload.ref || 'gh-pages' }}
3233
submodules: true
3334
fetch-depth: 0
3435

@@ -44,7 +45,7 @@ jobs:
4445

4546

4647
- name: Install theme
47-
run: |
48+
run: |
4849
git submodule add -f https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod
4950
git submodule update --init --recursive
5051

0 commit comments

Comments
 (0)