Skip to content

Conversation

@christian-byrne
Copy link
Contributor

Summary

GitHub Actions workflow for building and deploying the template site.

Added

  • .github/workflows/deploy-site.yml - Vercel deployment workflow
  • Updated README with deployment docs
  • prebuild script that runs sync → generate:ai → generate:previews

Required Secrets

  • OPENAI_API_KEY - for AI content generation
  • VERCEL_TOKEN - Vercel auth
  • VERCEL_ORG_ID - Vercel org
  • VERCEL_PROJECT_ID - Vercel project

Template Site PRs (merge in order)

  • PR 1: astro-pages ✓
  • PR 2: sync-script ✓
  • PR 3: ai-generation ✓
  • PR 4: preview-gen ✓
  • PR 5 of 5 ← this one (final)

⚠️ Merge after PR #497 (preview-gen)

christian-byrne and others added 2 commits January 20, 2026 13:42
- Add deploy-site.yml GitHub Actions workflow with manual trigger
- Workflow syncs templates, generates AI content, creates previews, builds Astro, deploys to Vercel
- Include commented section for auto-trigger on PyPI publish
- Add site/package.json with complete npm scripts
- Add site/README.md with setup instructions, script reference, and override documentation
- Add site/.env.example with required environment variables
- Add site/.gitignore for generated files and dependencies

Amp-Thread-ID: https://ampcode.com/threads/T-019bd9e5-8f5f-7544-bc6b-f2da67bfec3f
Co-authored-by: Amp <amp@ampcode.com>
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​tsx@​4.21.01001008187100
Addednpm/​astro@​5.16.11971008898100
Addednpm/​typescript@​5.9.31001009010090

View full report

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/astro@5.16.11npm/entities@4.5.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/entities@4.5.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm entities is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/astro@5.16.11npm/entities@6.0.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/entities@6.0.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm vite is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: ?npm/astro@5.16.11npm/vite@6.4.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/vite@6.4.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

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