1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-10-28 05:45:48 -04:00

Test action by building Hugo docs site (#1)

This commit is contained in:
2020-02-28 21:52:42 -05:00
parent 0c6f8a4a90
commit 4386d9140e
3 changed files with 31 additions and 0 deletions

22
.github/workflows/build-docs.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
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