bogdaaamn / deta-deploy-action

Simple GitHub Action to deploy current repo to a Deta Micro
https://github.com/marketplace/actions/deploy-to-deta
MIT License
79 stars 17 forks source link

[Question] Does it auto deploy on push? #8

Closed max-programming closed 1 year ago

max-programming commented 1 year ago

I just have a simple question that does this GH action automatically deploy whenever a push is made? Something like Netlify and Vercel?

bogdaaamn commented 1 year ago

Hey @max-programming, yes exactly, you can achieve that with GitHub Actions. The example is running on push, for example.

https://github.com/BogDAAAMN/deta-deploy-action/blob/829079c735ba8b7a5368a8d11b37162fee428179/README.md?plain=1#L50

But you can do many other combinations and triggers if you want to achieve something else (like selecting branches or pull requests or anything). You can check out Workflow syntax for GitHub Actions – GitHub Docs.

max-programming commented 1 year ago

Thanks for the reply!