This commit is contained in:
Denys Konovalov 2020-07-11 11:37:24 +02:00
commit ecc6289837

@ -12,13 +12,18 @@ jobs:
uses: actions/checkout@master uses: actions/checkout@master
with: with:
submodules: true submodules: true
- name: Build Site - name: Hugo to GH Pages
uses: chabad360/hugo-actions@master uses: chabad360/hugo-gh-pages@v1.2
with: with:
buildPath: 'public' # A Github Personal Access Token with Repo permissions
# Use if you have a need to build the site to another directory githubToken: ${{ secrets.TOKEN }}
hugoVersion: '0.69.0' # The custom domain name for your GH Pages Site
# Use if your site requires a specific version of Hugo cname: # optional
# Append "extended_" to the begining to use Hugo Extended # The branch to push the built site to
args: --gc branch: gh-pages
# Use if you want to pass some custom arguments to Hugo # The repo to push the built site to
repo: lxdb/gcg-website
# The version of hugo to use
hugoVersion: 0.69.0
# Arguments to pass to Hugo
args: # optional, default is --gc --minify --cleanDestinationDir