From 3c10a85113b3b58ba874aa00914613e3e1037f9e Mon Sep 17 00:00:00 2001 From: Stefan Bauer Date: Wed, 20 Nov 2024 10:53:27 +0100 Subject: [PATCH] chore: fix hugo --- .github/workflows/hugo.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index d2d58c690..232bd61b6 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -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 @@ -85,7 +77,6 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: github-pages path: ./public deploy: @@ -97,6 +88,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v3 - with: - artifact_name: github-pages \ No newline at end of file + uses: actions/deploy-pages@v2 \ No newline at end of file