Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 23, 2025

Replaces manual gh-pages branch maintenance with automated GitHub Actions deployment.

Changes

  • Added docs/ directory with demo site (index.html)
  • Added .github/workflows/deploy.yml to automatically copy library files from src/ and deploy docs/ on push to main
  • Updated .gitignore to exclude generated library files in docs/
  • Updated README.md with demo link

The workflow automatically copies callsign.js and callsign.css from src/ to docs/ during deployment, ensuring the demo site always uses the latest library version.

Configuration Required

After merge, configure GitHub Pages:

  1. Settings → Pages → Source: "GitHub Actions"
  2. Delete gh-pages branch once verified

Demo Preview

Demo shows call sign highlighting with country flags, phonetic information, and automatic detection.

Original prompt

Move website to a GitHub Actions enabled flow instead of a separate branch for GitHub Pages


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits November 23, 2025 20:53
Co-authored-by: phieri <12006381+phieri@users.noreply.github.com>
Co-authored-by: phieri <12006381+phieri@users.noreply.github.com>
Copilot AI changed the title [WIP] Move website to GitHub Actions for deployment Migrate GitHub Pages from gh-pages branch to Actions workflow Nov 23, 2025
Copilot AI requested a review from phieri November 23, 2025 20:59
@phieri
Copy link
Owner

phieri commented Nov 23, 2025

@copilot The file docs/callsign.js in now a hardcoded (old) version. It should be automatically deployed.

Co-authored-by: phieri <12006381+phieri@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 23, 2025

@copilot The file docs/callsign.js in now a hardcoded (old) version. It should be automatically deployed.

Fixed in 5985f16. The workflow now copies callsign.js and callsign.css from src/ during deployment, so the demo site always uses the latest version. The library files are excluded from git tracking in the docs directory.

@phieri phieri marked this pull request as ready for review November 23, 2025 21:23
@phieri phieri merged commit 01feef0 into main Nov 23, 2025
2 checks passed
@phieri phieri deleted the copilot/move-to-github-actions-flow branch November 23, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants