Skip to content

Liltenhead #78

Liltenhead #78 #118

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.124.1'
extended: true
- name: Npm install
run: npm install
- name: Npm build
run: npm run build
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.WEBSITE_DEPLOY_KEY }}
external_repository: space-wizards/space-wizards.github.io
publish_branch: master
publish_dir: ./public