Skip to content

Build and upload preview for PR 15 #98

Build and upload preview for PR 15

Build and upload preview for PR 15 #98

Workflow file for this run

name: 'Build Pull Request'
run-name: Build and upload preview for PR ${{ github.event.pull_request.number }}
on:
pull_request:
types: [synchronize, opened]
jobs:
build:
name: Build and upload site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.119.0"
- name: Build
run: hugo -F
- uses: matyrobbrt/cloudflare-pr-previews/upload@v1
name: Upload website
with:
build-dir: ./public/