You've already forked hugo-docker
mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-07-03 13:16:38 -04:00
Test action by building Hugo docs site (#1)
This commit is contained in:
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# Ignore all files...
|
||||||
|
*
|
||||||
|
|
||||||
|
# ...except readme and licenses:
|
||||||
|
!LICENSE.md
|
||||||
|
!README.md
|
||||||
|
!THIRD_PARTY_NOTICE.md
|
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
|
@ -1,5 +1,7 @@
|
|||||||
# GitHub Action for [Hugo](https://github.com/gohugoio/hugo) ✏️
|
# GitHub Action for [Hugo](https://github.com/gohugoio/hugo) ✏️
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
This is a simple GitHub Action that contains [Hugo](https://github.com/gohugoio/hugo), the popular static site generator. The [extended version](https://gohugo.io/troubleshooting/faq/#i-get-tocss-this-feature-is-not-available-in-your-current-hugo-version) is now bundled by default. Unlike other actions, this action includes releases going back to [v0.27](https://github.com/gohugoio/hugo/releases/tag/v0.27) (September 2017) for any compatibility requirements.
|
This is a simple GitHub Action that contains [Hugo](https://github.com/gohugoio/hugo), the popular static site generator. The [extended version](https://gohugo.io/troubleshooting/faq/#i-get-tocss-this-feature-is-not-available-in-your-current-hugo-version) is now bundled by default. Unlike other actions, this action includes releases going back to [v0.27](https://github.com/gohugoio/hugo/releases/tag/v0.27) (September 2017) for any compatibility requirements.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
Reference in New Issue
Block a user