Skip to content

Commit

Permalink
reverting to og version
Browse files Browse the repository at this point in the history
  • Loading branch information
dahhei committed Jan 16, 2025
1 parent fe84626 commit b66ab37
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy website to GitHub Pages

env:
WC_HUGO_VERSION: '0.135.0'
WC_HUGO_VERSION: '0.136.5'

on:
# Trigger the workflow every time you push to the `main` branch
Expand Down Expand Up @@ -29,20 +29,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
# Fetch history for Hugo's .GitInfo and .Lastmod
# Fetch history for Hugo's .GitInfo and .Lastmod
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: ${{ env.WC_HUGO_VERSION }}
extended: true
# Temporarily remove caching for debugging
# - uses: actions/cache@v3
# with:
# path: /tmp/hugo_cache_runner/
# key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
# restore-keys: |
# ${{ runner.os }}-hugomod-
- uses: actions/cache@v3
with:
path: /tmp/hugo_cache_runner/
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.mod') }}
restore-keys: |
${{ runner.os }}-hugomod-
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand All @@ -54,10 +53,8 @@ jobs:
hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Generate Pagefind search index
run: npx pagefind --site "public"
- name: Debug Actions
run: echo "Using action: actions/upload-pages-artifact@v1"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: ./public

Expand All @@ -72,4 +69,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v2

0 comments on commit b66ab37

Please sign in to comment.