Skip to content

Commit 9b21050

Browse files
udpate yaml deploy to v4
1 parent 437b966 commit 9b21050

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/hugo.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install Hugo CLI
3838
run: |
3939
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
40-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
40+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
4141
- name: Install Dart Sass
4242
run: sudo snap install dart-sass
4343
- name: Checkout
@@ -59,7 +59,7 @@ jobs:
5959
hugo \
6060
--gc \
6161
--minify \
62-
--baseURL "${{ steps.pages.outputs.base_url }}/"
62+
--baseURL "${{ steps.pages.outputs.base_url }}/"
6363
- name: Upload artifact
6464
uses: actions/upload-pages-artifact@v2
6565
with:
@@ -75,5 +75,4 @@ jobs:
7575
steps:
7676
- name: Deploy to GitHub Pages
7777
id: deployment
78-
uses: actions/deploy-pages@v3
79-
78+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)