Skip to content

Workflow file for this run

name: Build and Deploy
on:
# Runs on pushes targeting the default branch
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:

Check failure on line 19 in .github/workflows/hugo.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/hugo.yml (Line: 19, Col: 14): Unexpected value '' .github/workflows/hugo.yml (Line: 20, Col: 9): Unexpected value 'hugo-version'
hugo-version: 'latest'
- name: Build Site
run: hugo --minify
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: pages # Change this to the branch you want to deploy to