You've already forked hugo-docker
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:
22
.github/workflows/build-docs.yml
vendored
Normal file
22
.github/workflows/build-docs.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user