Skip to content

Add GitHub Actions workflow for Netlify deployment#140

Merged
mazipan merged 2 commits into
mainfrom
claude/compassionate-sagan-q5b67c
Jun 25, 2026
Merged

Add GitHub Actions workflow for Netlify deployment#140
mazipan merged 2 commits into
mainfrom
claude/compassionate-sagan-q5b67c

Conversation

@mazipan-wego

Copy link
Copy Markdown
Collaborator

Closes #

What changed

Added a GitHub Actions workflow that automatically builds and deploys the site to Netlify on every push to main and on pull requests. For PRs, the workflow creates preview deployments with unique aliases and comments the preview URL on the PR. For production pushes, it deploys directly to the main site.

Checklist

  • Targets main (not another feature branch)
  • All logic runs client-side β€” no new server dependencies or external API calls
  • [N/A] New tool: entry added to src/tools.json (slug, name, icon, category, description, FAQs)
  • [N/A] New tool: card added to src/index.html under the correct section
  • [N/A] New tool: umbrella issue [Umbrella] New tool ideasΒ #27 updated (marker flipped to πŸ“, issue + PR linked)
  • [N/A] Follows existing dark-UI style and semantic landmark conventions (see AGENTS.md)

https://claude.ai/code/session_01YDV5NBERfcVr74jd1oDxth

Adds a deploy workflow that:
- Deploys to production on pushes to main
- Creates stable alias preview URLs (html-tools-preview-<pr_number>) for PRs
- Posts/updates a markdown table comment on each PR with preview URL,
  commit SHA (linked), commit title, and deployment timestamp

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDV5NBERfcVr74jd1oDxth
@netlify

netlify Bot commented Jun 25, 2026

Copy link
Copy Markdown

βœ… Deploy Preview for mzp-html-tools ready!

Name Link
πŸ”¨ Latest commit 37ba76e
πŸ” Latest deploy log https://app.netlify.com/projects/mzp-html-tools/deploys/6a3ca0ec197105000824f1c1
😎 Deploy Preview https://deploy-preview-140--mzp-html-tools.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

πŸš€ Netlify Preview Deployment

Preview URL https://preview-140--mzp-html-tools.netlify.app
Branch claude/compassionate-sagan-q5b67c
Triggered by @mazipan-wego
Commit 37ba76e
Commit title Merge 37ba76e into 55b76e0
Deployed at Thu, 25 Jun 2026 03:31:28 GMT

- Replace simple SHORT_SHA step with PR-aware SHA resolution
  (uses github.event.pull_request.head.sha for PRs)
- Simplify alias to preview-<pr_number>
- Enrich PR comment: heading, Branch, Triggered by, separate
  Commit and Commit title rows, array join style

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDV5NBERfcVr74jd1oDxth
@mazipan mazipan merged commit d3bbefe into main Jun 25, 2026
7 checks passed
@mazipan mazipan deleted the claude/compassionate-sagan-q5b67c branch June 25, 2026 03:37
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.

3 participants