Skip to content

Commit

Permalink
chore: added npm install gulp
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumbroso committed Aug 15, 2024
1 parent 70ede08 commit 765a959
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,27 @@ jobs:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: ๐Ÿ› ๏ธ Initialize Hugo Environment
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "0.124.1"
extended: true

- name: Setup Node.js to build theme
- name: ๐ŸŒ Configure Node.js Environment
uses: actions/setup-node@v4
with:
node-version: 20

- name: Build Geekdoc theme (1/2)
- name: "๐Ÿ› ๏ธ Build Geekdoc Theme (Step 1: Setup Packages)"
working-directory: ./themes/hugo-geekdoc
run: npm install

- name: Build Geekdoc theme (2/2)
- name: "๐Ÿ—๏ธ Build Geekdoc Theme (Step 2: Run Gulp to Minify Template)"
working-directory: ./themes/hugo-geekdoc
run: gulp
run: |
npm install
gulp
- name: ๐Ÿ—๏ธ Compile Hugo Static Files
- name: ๐Ÿ“ฆ Generate Hugo Static Files
run: hugo -D --gc --minify

- name: ๐Ÿ” Secure Content with Encryption
Expand Down

0 comments on commit 765a959

Please sign in to comment.