Skip to content

Commit

Permalink
Merge pull request #85 from katzenpost/new_version_docsy_hugo
Browse files Browse the repository at this point in the history
fixup github ci
  • Loading branch information
david415 authored Dec 7, 2024
2 parents 0a0c31d + 73330a0 commit 21cc801
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,26 @@ jobs:
cache: npm
cache-dependency-path: package.json

- name: Install PostCSS
run: npm install -D autoprefixer postcss postcss-cli
- run: npm install --omit=optional
- run: npm install -D autoprefixer postcss postcss-cli

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3.0.6
uses: actions/configure-pages@v5

- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--gc \
--baseURL "https://katzenpost.network/"
--gc \
--minify \
--baseURL "https://katzenpost.network/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./public

Expand Down

0 comments on commit 21cc801

Please sign in to comment.