gcg-website/.github/workflows/workflow.yml

25 lines
656 B
YAML
Raw Normal View History

2020-07-11 11:01:53 +02:00
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
submodules: true
- name: Build Site
uses: chabad360/hugo-actions@master
2020-07-11 11:08:57 +02:00
with:
2020-07-11 11:01:53 +02:00
buildPath: 'public'
# Use if you have a need to build the site to another directory
hugoVersion: '0.69.0'
# Use if your site requires a specific version of Hugo
# Append "extended_" to the begining to use Hugo Extended
args: --gc
# Use if you want to pass some custom arguments to Hugo