Ruby: Setting up the git push command for deployment
This documentation is part of the Deploy to production guide. You can view the complete guide here: Deploy Ruby code to production in minutes with Stackhero.
👋 Welcome to the Stackhero documentation!
Stackhero provides a ready-to-use Ruby cloud solution offering a range of advantages, including:
- Deploy your application within seconds using a simple
git push.- Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
- Take advantage of automatic backups, one-click updates, and clear, transparent, and predictable pricing.
- Enjoy optimal performance and enhanced security thanks to a private, dedicated infrastructure.
Save time and make your life easier: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!
Deployment on Stackhero uses the Git CLI and the git push command, so there is no need to install any additional tools.
You can copy the git remote command from your service's main page in the Stackhero dashboard. It usually looks like:
git remote add stackhero ssh://stackhero@<XXXXXX>.stackhero-network.com:222/project.git