Skip to content

Commit 251ee4e

Browse files
authored
Update pages.yml
1 parent b9cd588 commit 251ee4e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pages.yml

+3-5
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,18 +59,16 @@ 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@v2 # Changed from v1 to v2
6565
with:
6666
path: ./public
6767
- name: Push to GitHub Pages branch
68-
6968
uses: ftnext/[email protected]
7069
with:
7170
build_dir: public
7271
github_token: ${{ secrets.TOKEN }}
73-
7472

7573
# Deployment job
7674
deploy:

0 commit comments

Comments
 (0)