Skip to content

Merge pull request #4 from jimytc/update-theme #29

Merge pull request #4 from jimytc/update-theme

Merge pull request #4 from jimytc/update-theme #29

name: Hugo Build and Deploy
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1 # v2 does not have submodules option now
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.64.1'
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: jimytc/jimytc.github.io
publish_dir: ./public
publish_branch: master