Skip to content

Commit

Permalink
build: try using other github action for hugo build
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-bouvier authored Dec 4, 2024
1 parent 019664f commit 1989882
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ on:
branches:
- docs

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
Expand Down Expand Up @@ -64,7 +73,6 @@ jobs:
hugo \
--gc \
--minify \
--cleanDestinationDir \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
Expand Down

0 comments on commit 1989882

Please sign in to comment.