Skip to content

Commit 18e446e

Browse files
authored
Update actions/upload-pages-artifact to v3 (#12)
1 parent bdd5803 commit 18e446e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/hugo.yaml

Lines changed: 5 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 Embedded
4242
run: sudo snap install dart-sass-embedded
4343
- name: Checkout
@@ -59,9 +59,9 @@ 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
64-
uses: actions/upload-pages-artifact@v1
64+
uses: actions/upload-pages-artifact@v3
6565
with:
6666
path: ./public
6767

@@ -75,4 +75,5 @@ jobs:
7575
steps:
7676
- name: Deploy to GitHub Pages
7777
id: deployment
78-
uses: actions/deploy-pages@v2
78+
uses: actions/deploy-pages@v2
79+

0 commit comments

Comments
 (0)