Skip to content

fix: workflow deployment #55

fix: workflow deployment

fix: workflow deployment #55

Workflow file for this run

name: github pages
on:
push:
branches:
- master # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.85.0'
extended: true
- name: Build
run: hugo --minify --ignoreCache --gc
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
deploy_key: ${{ secrets.DEPLOY_KEY }}
publish_dir: ./public
cname: michael-friska.liondy.com