Skip to content

Commit

Permalink
build example page in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmehl committed Dec 11, 2024
1 parent 4358744 commit 0c688a0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build project with Hugo
on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./exampleSite
steps:
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true

- name: Build
run: |
hugo

0 comments on commit 0c688a0

Please sign in to comment.