GitHub Actions Setup Guide

This repository uses GitHub Actions to automatically build and deploy the site daily.

What it does

Setup Instructions

1. Push this repository to GitHub

If you haven't already:

# Initialize git (if not already done)
git init

# Add all files
git add .

# Commit
git commit -m "Initial commit with GitHub Actions"

# Create a new repository on GitHub, then:
git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPO-NAME.git
git branch -M main
git push -u origin main

2. Add FTP Credentials as Secrets

Go to your GitHub repository settings:

  1. Click SettingsSecrets and variablesActions

  2. Click New repository secret

  3. Add these three secrets:

3. Configure the Deployment Path

Edit .github/workflows/daily-deploy.yml if needed:

4. Test the Workflow

  1. Go to Actions tab in your GitHub repository
  2. Click Daily Build and Deploy workflow
  3. Click Run workflowRun workflow (manual trigger)
  4. Watch it run and check for any errors

5. Monitor Daily Runs

Troubleshooting

Build fails with "npm ci" error

FTP deployment fails

Events not updating

Manual Deployment

You can still deploy manually anytime:

npm run build
# Then upload _site/ folder via FTP as usual

Disable Automatic Deployment

To temporarily disable:

  1. Go to ActionsDaily Build and Deploy
  2. Click the ... menu → Disable workflow

Cost