Skip to content

Commit

Permalink
feat: Updated .github/workflows/hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 17, 2024
1 parent eed6f0d commit 779f4fa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.114.0
HUGO_VERSION: 0.88.1
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: npm install -g dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -54,7 +54,9 @@ jobs:
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
hugo --buildFuture \
--buildDrafts \
-D --gc \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
Expand All @@ -73,4 +75,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: uses: actions/checkout@v2

0 comments on commit 779f4fa

Please sign in to comment.