Skip to content

Commit 21f439b

Browse files
committed
Upgrade Hugo to 0.146.0 and install Docsy NPM dependencies
The Docsy v0.12.0 theme requires Hugo 0.146.0+ and uses Bootstrap/FontAwesome as NPM dependencies rather than Hugo modules. Changes: - Upgraded Hugo from 0.135.0 to 0.146.0 (minimum required by Docsy v0.12.0) - Added npm install step in Docsy theme directory to install Bootstrap 5.3.6 and FontAwesome 6.7.2 from theme's package.json The theme's hugo.yaml mounts these from node_modules/ directories. No Go installation or Hugo module commands needed. Tested with act - build completes successfully.
1 parent f6f1dbb commit 21f439b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,11 @@ jobs:
8080
- name: 📚 Install Hugo
8181
uses: peaceiris/[email protected] # v3.0.0
8282
with:
83-
hugo-version: '0.135.0'
83+
hugo-version: '0.146.0'
8484
extended: true
85-
- name: 🔵 Setup Go
86-
uses: actions/setup-go@v6
87-
with:
88-
go-version: '1.23'
85+
- name: 📦 Install Docsy theme dependencies (Bootstrap & FontAwesome)
86+
working-directory: /mnt/airflow-site/landing-pages/site/themes/docsy
87+
run: npm install
8988
- name: 🟢 Install node dependencies
9089
run: |
9190
/mnt/airflow-site/site.sh install-node-deps

0 commit comments

Comments
 (0)