This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit 489abccab6c88ebdcab3b72aac7cf50424b35d76
Author: Kaxil Naik <[email protected]>
AuthorDate: Sun Nov 9 01:30:18 2025 +0000

    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.
---
 .github/workflows/build.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 49920b7ee3..25e2685bf3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -84,12 +84,11 @@ jobs:
       - name: 📚 Install Hugo
         uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f  
# v3.0.0
         with:
-          hugo-version: '0.135.0'
+          hugo-version: '0.146.0'
           extended: true
-      - name: 🔵 Setup Go
-        uses: actions/setup-go@v6
-        with:
-          go-version: '1.23'
+      - name: 📦 Install Docsy theme dependencies (Bootstrap & FontAwesome)
+        working-directory: /mnt/airflow-site/landing-pages/site/themes/docsy
+        run: npm install
       - name: 🟢 Install node dependencies
         run: |
           /mnt/airflow-site/site.sh install-node-deps

Reply via email to