From b222db8ce265aa53bc91cc7fd0ada29c4d2046cd Mon Sep 17 00:00:00 2001 From: Senk Ju <12718920+oskar2517@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:03:35 +0100 Subject: [PATCH] simplify actions --- .github/workflows/hugo.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 49004e6..2518849 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -35,11 +35,7 @@ jobs: HUGO_VERSION: 0.138.0 steps: - name: Install Hugo CLI - run: | - wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb - - name: Install Dart Sass - run: sudo snap install dart-sass + run: snap install hugo - name: Checkout uses: actions/checkout@v4 with: @@ -48,8 +44,6 @@ jobs: - name: Setup Pages id: pages 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