File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 37
37
- name : Install Hugo CLI
38
38
run : |
39
39
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
41
41
- name : Install Dart Sass
42
42
run : sudo snap install dart-sass
43
43
- name : Checkout
@@ -59,18 +59,16 @@ jobs:
59
59
hugo \
60
60
--gc \
61
61
--minify \
62
- --baseURL "${{ steps.pages.outputs.base_url }}/"
62
+ --baseURL "${{ steps.pages.outputs.base_url }}/"
63
63
- name : Upload artifact
64
- uses : actions/upload-pages-artifact@v1
64
+ uses : actions/upload-pages-artifact@v2 # Changed from v1 to v2
65
65
with :
66
66
path : ./public
67
67
- name : Push to GitHub Pages branch
68
-
69
68
70
69
with :
71
70
build_dir : public
72
71
github_token : ${{ secrets.TOKEN }}
73
-
74
72
75
73
# Deployment job
76
74
deploy :
You can’t perform that action at this time.
0 commit comments