Skip to content

Commit

Permalink
chore: fix hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
StfBauer committed Nov 20, 2024
1 parent 54228c9 commit 3c10a85
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Cache Node.js dependencies
id: cache-node
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
Expand All @@ -85,7 +77,6 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ./public

deploy:
Expand All @@ -97,6 +88,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
with:
artifact_name: github-pages
uses: actions/deploy-pages@v2

0 comments on commit 3c10a85

Please sign in to comment.