Skip to content

Commit 7e52d69

Browse files
Retry Git LFS hugo.yml
1 parent 1c0dddf commit 7e52d69

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,37 +31,33 @@ defaults:
3131
shell: bash
3232

3333
jobs:
34-
# Build job
3534
build:
3635
runs-on: ubuntu-latest
3736
env:
3837
HUGO_VERSION: 0.120.4
3938
steps:
40-
- name: Install Hugo CLI
41-
run: |
42-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
43-
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
44-
# - name: Install Dart Sass
45-
# run: sudo snap install dart-sass
4639
- name: Install Git LFS
4740
run: |
4841
sudo apt install git-lfs
4942
git lfs install
50-
- name: Checkout with LFS
43+
- name: Checkout repository with LFS
5144
uses: actions/checkout@v4
5245
with:
5346
lfs: true
5447
submodules: recursive
5548
- name: Fetch LFS files
5649
run: git lfs pull
50+
- name: Install Hugo CLI
51+
run: |
52+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
53+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
5754
- name: Setup Pages
5855
id: pages
5956
uses: actions/configure-pages@v4
6057
- name: Install Node.js dependencies
6158
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
6259
- name: Build with Hugo
6360
env:
64-
# For maximum backward compatibility with Hugo modules
6561
HUGO_ENVIRONMENT: production
6662
HUGO_ENV: production
6763
run: |
@@ -73,6 +69,7 @@ jobs:
7369
with:
7470
path: ./public
7571

72+
7673
# Deployment job
7774
deploy:
7875
environment:

0 commit comments

Comments
 (0)