2021-10-23 09:56:11 +00:00
|
|
|
name: Build site
|
|
|
|
description: Builds the Hugo exampleSite for later deploy on GitHub-Pages
|
|
|
|
runs:
|
|
|
|
using: composite
|
|
|
|
steps:
|
|
|
|
- name: Setup Hugo
|
2023-01-04 00:19:49 +00:00
|
|
|
uses: peaceiris/actions-hugo@v2
|
2021-10-23 09:56:11 +00:00
|
|
|
with:
|
|
|
|
hugo-version: 'latest'
|
|
|
|
|
|
|
|
- name: Build site
|
|
|
|
shell: bash
|
|
|
|
run: |
|
2022-02-07 21:42:18 +00:00
|
|
|
hugo --source ${GITHUB_WORKSPACE}/exampleSite --destination ${GITHUB_WORKSPACE}/../public --cleanDestinationDir --gc --baseURL https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/ --theme ${GITHUB_WORKSPACE}
|