Skip to content

static-page-builder #60

static-page-builder

static-page-builder #60

Workflow file for this run

name: static-page-builder
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install hatch
run: pip install hatch
- name: Build static page
run: hatch run floodarchive
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update static page
file_pattern: "index.html posts.json"