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

30 lines
812 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
2020-07-11 11:25:33 +02:00
- name: Hugo to GH Pages
2022-01-22 13:00:12 +01:00
uses: chabad360/hugo-gh-pages@master
2020-07-11 11:08:57 +02:00
with:
2020-07-11 11:25:33 +02:00
# A Github Personal Access Token with Repo permissions
githubToken: ${{ secrets.TOKEN }}
# The custom domain name for your GH Pages Site
cname: # optional
# The branch to push the built site to
2020-07-11 11:50:20 +02:00
branch: master
2020-07-11 11:25:33 +02:00
# The repo to push the built site to
2020-07-11 12:21:49 +02:00
repo: eesev9ie/eesev9ie.github.io
2020-07-11 11:25:33 +02:00
# The version of hugo to use
2022-01-22 13:00:12 +01:00
hugoVersion: 0.92.0
2020-07-11 11:25:33 +02:00
# Arguments to pass to Hugo
2022-01-22 13:00:12 +01:00
args: --gc --minify --cleanDestinationDir