Skip to content

Add team webhooks and deploy tokens - #35

Open
Yxmura wants to merge 1 commit into
hunvreus:mainfrom
Yxmura:feature/webhooks-and-deploy-tokens
Open

Add team webhooks and deploy tokens#35
Yxmura wants to merge 1 commit into
hunvreus:mainfrom
Yxmura:feature/webhooks-and-deploy-tokens

Conversation

@Yxmura

@Yxmura Yxmura commented Dec 30, 2025

Copy link
Copy Markdown
  • Add TeamWebhook model for team-level webhook notifications
  • Add DeployToken model for API-triggered deployments
  • Add webhook service with support for both project and team webhooks
  • Add deploy API endpoints (POST /api/deploy, GET /api/deployments/:id)
  • Add team webhooks UI with project scoping and event filtering
  • Add deploy tokens UI with token generation and revocation
  • Update deployment tasks to send webhooks to team-level subscribers

disclaimer: this code was written by Claude, not me, so it'd be finished quickly.

- Add TeamWebhook model for team-level webhook notifications
- Add DeployToken model for API-triggered deployments
- Add webhook service with support for both project and team webhooks
- Add deploy API endpoints (POST /api/deploy, GET /api/deployments/:id)
- Add team webhooks UI with project scoping and event filtering
- Add deploy tokens UI with token generation and revocation
- Update deployment tasks to send webhooks to team-level subscribers
@Yxmura

Yxmura commented Dec 30, 2025

Copy link
Copy Markdown
Author

addresses #34

@hunvreus

hunvreus commented Jan 3, 2026

Copy link
Copy Markdown
Owner

Can you describe what deploy tokens are for? I'm not sure I understand the user story.

@Yxmura

Yxmura commented Jan 3, 2026

Copy link
Copy Markdown
Author

Can you describe what deploy tokens are for? I'm not sure I understand the user story.

It's to trigger deploys via API

@hunvreus

hunvreus commented Jan 4, 2026

Copy link
Copy Markdown
Owner

Right, deploy webhook then. Sure, I'll review what you have but I already had a local branch with some of that being implemented. I'll see what I can merge.

@Yxmura

Yxmura commented Jan 4, 2026

Copy link
Copy Markdown
Author

Right, deploy webhook then. Sure, I'll review what you have but I already had a local branch with some of that being implemented. I'll see what I can merge.

Oh perfect. Thanks a lot. If you have a better approach in your branch go with it, no worries <3

Dvorinka added a commit to Dvorinka/devpush that referenced this pull request Aug 24, 2026
Add TeamWebhook model for team-level webhook notifications and
DeployToken model for API-triggered deployments. Webhook service
sends POST requests on deployment state changes (started, succeeded,
failed, canceled) to subscribed endpoints.

Deploy API endpoints (POST /api/deploy, GET /api/deployments/:id)
enable programmatic deployments via tokens. Team webhooks UI with
project scoping and event filtering. Deploy tokens UI with token
generation and revocation.

Migration c1a2b3d4e5f6 adds team_webhook and deploy_token tables.

Authored By: TDvorak <info@tdvorak.dev>
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