This guide explains how to automatically deploy your Boonafide application to Render.com using GitHub Actions.
- Render.com account - Sign up here
- MongoDB database - Use MongoDB Atlas (free tier available)
- GitHub repository with your code
- Render.com Web Service already created and connected to your repo
- Go to Render.com Dashboard
- Click "New +" and select "Web Service"
- Connect your GitHub repository
- Render will automatically detect your
Dockerfile - Set environment variables:
NODE_ENV: productionDBURL: Your MongoDB connection stringCLOUDINARY_KEY: Your Cloudinary API keyCLOUDINARY_NAME: Your Cloudinary cloud nameCLOUDINARY_SECRET: Your Cloudinary API secret
In your Render.com service settings:
- ✅ Auto-Deploy: Enabled
- ✅ Branch:
master(or your main branch) - ✅ Build Command: Auto-detected from Dockerfile
- ✅ Start Command: Auto-detected from Dockerfile
- Push a tag (e.g.,
v1.0.0) - GitHub Actions automatically triggers
- Render.com detects the new commit and redeploys
- Your app is automatically updated
# Create and push a version tag
git tag v1.0.0
git push origin v1.0.0
# GitHub Actions will automatically trigger deployment to Render.com! 🎉- Go to your repository → Releases → Create a new release
- Choose a tag or create a new one
- Publish the release
- Automatic deployment to Render.com 🚀
# 1. Update package.json version
# Change "version": "1.0.2" to "version": "1.0.3"
# 2. Commit version change
git add package.json
git commit -m "release: v1.0.3"
git push origin master
# 3. Create and push tag
git tag v1.0.3
git push origin v1.0.3
# 4. GitHub Actions automatically triggers deployment! 🚀- Use semantic versioning:
MAJOR.MINOR.PATCH - Examples:
v1.0.0,v1.2.3,v2.0.0 - Tag must start with
vto trigger deployment
If you need to deploy manually:
- Go to your Render.com dashboard
- Find your service
- Click "Manual Deploy"
- Select the branch/commit to deploy
After deployment, you'll get:
- Full Application:
https://boonafide.onrender.com(both frontend and backend)
# Deploy version 1.0.0
git tag v1.0.0
git push origin v1.0.0
# Deploy version 1.0.1
git tag v1.0.1
git push origin v1.0.1
# Deploy version 2.0.0
git tag v2.0.0
git push origin v2.0.0That's it! Every time you push a tag, your app automatically deploys to Render.com! 🚀