mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-04-26 10:35:21 -04:00
23 lines
462 B
YAML
23 lines
462 B
YAML
name: Build docs
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout action
|
|
uses: actions/checkout@master
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Checkout gohugoio/hugoDocs
|
|
uses: actions/checkout@master
|
|
with:
|
|
repository: gohugoio/hugoDocs
|
|
path: docs/
|
|
fetch-depth: 1
|
|
- name: Build site
|
|
uses: ./
|
|
with:
|
|
args: --source docs/ --minify --verbose
|