Skip to content

Commit 5ef11a2

Browse files
authored
Update main.yml
1 parent ae6aa01 commit 5ef11a2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,26 @@ jobs:
3333
hugo-version: '0.130.0'
3434
extended: true
3535

36-
# Post-CSS install
36+
# Post-CSS install and Node.js
3737
- name: Install Post-CSS
3838
run: npm install postcss-cli
3939

40+
- name: Setup Node.js
41+
uses: actions/setup-node@v2
42+
4043
# Builds arm-software-developer repo
4144
- name: Build
4245
run: |
4346
hugo --minify
4447
cp learn-image-sitemap.xml public/learn-image-sitemap.xml
4548
bin/pagefind --site "public"
49+
env:
50+
HUGO_LLM_API: ${{ secrets.HUGO_LLM_API }}
51+
52+
# - name: Uglify the Endpoint
53+
# run: |
54+
# npm install uglify-js
55+
# node tools/uglify-html.js
4656

4757
# Deploys website to AWS S3
4858
- name: Deploy to S3

0 commit comments

Comments
 (0)