moved things to website dir

This commit is contained in:
2025-06-06 12:46:18 +10:00
parent 3df3240ddd
commit f2dbad9d4b
15 changed files with 14 additions and 210 deletions

View File

@@ -3,11 +3,11 @@ name: Build Site
on:
push:
branches:
- main
- master # Or your main branch, e.g., main
jobs:
build:
runs-on: ubuntu-latest
if: github.actor != 'github-actions[bot]' && github.ref == 'refs/heads/main'
if: github.actor != 'github-actions[bot]' && github.ref == 'refs/heads/master' # Or your main branch
permissions:
contents: write
steps:
@@ -26,8 +26,8 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
# Add all HTML files in the root directory
git add -- '*.html'
# Add all HTML files in the website directory
git add -- 'website/*.html'
# Only commit if there are staged changes
git diff --staged --quiet || git commit -m "Automated build: Update generated site files"
git push