Skip to content

Enhanced UI

Enhanced UI #4

Workflow file for this run

name: Sync app 404 fallback
on:
push:
branches: [main]
paths:
- 'docs/app/index.html'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: cp docs/app/index.html docs/app/404.html
- name: Commit if changed
run: |
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add docs/app/404.html
git diff --staged --quiet || git commit -m "chore: sync app/404.html from index.html [skip ci]"
git diff HEAD~1..HEAD --quiet || git push