From a17d0e83ab215a9ac78985a7ec3360289d3f5e42 Mon Sep 17 00:00:00 2001 From: Georgi Dimitrov Date: Fri, 26 Apr 2024 14:20:19 +0300 Subject: [PATCH] Got it fist try --- .github/workflows/hugo.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index ffad9a4..d4afe7e 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -32,7 +32,7 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.125.4 + HUGO_VERSION: 0.125.4 steps: - name: Install Hugo CLI run: | @@ -50,9 +50,9 @@ jobs: run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - name: Build with Hugo env: - # For maximum backward compatibility with Hugo modules - HUGO_ENVIRONMENT: production - HUGO_ENV: production + # For maximum backward compatibility with Hugo modules + HUGO_ENVIRONMENT: production + HUGO_ENV: production run: | hugo \ --gc \ @@ -66,11 +66,11 @@ jobs: # Deployment job deploy: environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2