Skip to content

Add Content Refresh Event to Pipeline Tutorial #89

Add Content Refresh Event to Pipeline Tutorial

Add Content Refresh Event to Pipeline Tutorial #89

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: GitHub Pages
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build Website with Hugo
run: hugo --minify
- name: Deploy Website to Pages branch
if: ${{ startsWith(github.ref, 'refs/heads/main') }}
uses: JamesIves/[email protected]
with:
branch: pages
folder: ./public