mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-07 12:23:30 +00:00
14 lines
434 B
YAML
14 lines
434 B
YAML
name: Build site
|
|
description: Builds the docs for later deploy on GitHub-Pages
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Setup Hugo
|
|
uses: peaceiris/actions-hugo@v3
|
|
with:
|
|
hugo-version: 'latest'
|
|
|
|
- name: Build site
|
|
shell: bash
|
|
run: |
|
|
hugo --source ${GITHUB_WORKSPACE}/docs --destination ${GITHUB_WORKSPACE}/../public --cleanDestinationDir --environment github --theme ${GITHUB_WORKSPACE}
|