Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Apr 20, 2024
1 parent 6857ad5 commit d311d20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,22 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
run: "[[ -f pnpm-lock.yaml ]] && pnpm ci || true"
- name: Build production website
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
npm run build \
pnpm run build \
-- \
--gc \
--minify \
Expand Down

0 comments on commit d311d20

Please sign in to comment.