From ac7df1954a562762554c76a72b92983b83749282 Mon Sep 17 00:00:00 2001 From: MarkMizzi Date: Fri, 20 Sep 2024 23:01:18 +0200 Subject: [PATCH] fix workflow for deploying --- .github/workflows/hugo.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index cef7754..52cee2d 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -49,12 +49,12 @@ jobs: id: pages uses: actions/configure-pages@v5 - name: Install Node.js dependencies - run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + run: "[[ -f package.json || -f npm-shrinkwrap.json ]] && npm ci || true" - name: Build with Hugo env: HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache HUGO_ENVIRONMENT: production - TZ: America/Los_Angeles + TZ: Europe/Malta run: | hugo \ --gc \ @@ -75,4 +75,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4