File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -32,36 +32,36 @@ jobs:
3232 build :
3333 runs-on : ubuntu-latest
3434 env :
35- HUGO_VERSION : 0.111.3
35+ HUGO_VERSION : 0.137.1
3636 steps :
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 \
4040 && sudo dpkg -i ${{ runner.temp }}/hugo.deb
41- - name : Install Dart Sass Embedded
42- run : sudo snap install dart-sass-embedded
41+ - name : Install Dart Sass
42+ run : sudo snap install dart-sass
4343 - name : Checkout
44- uses : actions/checkout@v3
44+ uses : actions/checkout@v4
4545 with :
4646 submodules : recursive
4747 fetch-depth : 0
4848 - name : Setup Pages
4949 id : pages
50- uses : actions/configure-pages@v3
50+ uses : actions/configure-pages@v5
5151 - name : Install Node.js dependencies
5252 run : " [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5353 - name : Build with Hugo
5454 env :
55- # For maximum backward compatibility with Hugo modules
55+ HUGO_CACHEDIR : ${{ runner.temp }}/hugo_cache
5656 HUGO_ENVIRONMENT : production
57- HUGO_ENV : production
57+ TZ : America/Los_Angeles
5858 run : |
5959 hugo \
6060 --gc \
6161 --minify \
6262 --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
7575 steps :
7676 - name : Deploy to GitHub Pages
7777 id : deployment
78- uses : actions/deploy-pages@v2
78+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments