Skip to content

build

build #80

Workflow file for this run

name: build
on:
# Run on push to main
push:
branches:
- main
schedule:
- cron: "0 0 * * *"
# Run manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.128.0'
extended: true
- name: checkout
uses: actions/checkout@master
with:
submodules: true
token: ${{ secrets.PAT }}
- name: Build site and push to release branch
uses: aormsby/[email protected]
with:
source_branch: 'main'
release_branch: 'pages'
hugo_publish_directory: 'docs'