Menu

1 / 2

How to deploy on every push with GitHub Actions and a webhook

DEV Community: cicd·octave Nkurunziza·about 23 hours ago
#2TUAixrH
#devtocicd#devto#dev#webhook#rollback
Reading 0:00
15s threshold

Originally published on the Hubfly space blog .

TL;DR

What you get: every push to main redeploys your container on Hubfly space, and you can send a rollback action when a release goes bad.

Who it's for: developers who build images or test code in GitHub Actions (or GitLab CI) and still redeploy by hand.

Time: about 15 minutes.

Cost: deploy webhooks are free. You pay only for the container itself; the shared tier is free for 360 hours a month.

Your app is live, but every change still ends with you opening the dashboard and clicking Redeploy. That's slow, and it's how the wrong build reaches your users on a Friday evening. In this guide you'll connect GitHub Actions to Hubfly space with a signed deploy webhook, so every push to main goes live on its own once your tests pass, and you can send a rollback when a release goes bad.

Try it on Hubfly space. Start free, 360 hours included →

What a deploy webhook does

A deploy webhook is an address your CI calls when a build is ready.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.