Deploy from GitHub to SmarterASP.NET

Automated deployment of your applications directly from your GitHub repository with one-click configuration

Why Deploy with GitHub on SmarterASP.NET?

🚀

Automated CI/CD

Automatically deploy your application every time you push changes to your GitHub repository

🔄

Zero Downtime

Seamless deployments with automatic rollback capabilities if something goes wrong

📊

Real-time Monitoring

Track deployment status, view logs, and monitor application performance in real-time

🔐

Secure Integration

OAuth-based authentication ensures secure connection between GitHub and your hosting account

⚙️

Multi-Environment

Deploy to staging and production environments with different branches and configurations

📱

Multi-Platform

Deploy Node.js, .NET, PHP, and other applications across all supported platforms

Quick Setup Guide

Follow these steps to enable GitHub deployment on your SmarterASP.NET account

1

Connect GitHub Account

Log in to your SmarterASP.NET control panel and navigate to the GitHub Deployment section. Click "Connect GitHub" and authorize SmarterASP.NET to access your repositories.

Location: Control Panel > Deployment > GitHub

2

Select Repository

Choose the GitHub repository you want to deploy. SmarterASP.NET will list all repositories you have access to. Select the one containing your application code.

Options: Filter by organization, sort by name or last modified

3

Configure Branch & Path

Select the branch to deploy (typically 'main' or 'master'). Specify the deployment path on your SmarterASP.NET server where the application should be deployed.

Example Path: /site/wwwroot/ or /home/user/node_app/

4

Set Environment Variables

Configure environment variables for your application (API keys, database URLs, etc.). These can be set differently for staging and production environments.

Examples: NODE_ENV, DATABASE_URL, API_KEY, PORT

5

Configure Build & Start Commands

Specify the build command to compile your application and the start command to run it. This depends on your framework and technology stack.

Build: npm install && npm run build
Start: npm start
6

Deploy & Monitor

Click "Deploy Now" to deploy the current branch, or set up automatic deployments on every push. Monitor the deployment process in real-time and check logs for any errors.

Auto-deploy: Enable to automatically deploy on every push to the selected branch

Supported Technologies

Deploy applications built with these popular frameworks and runtimes

Node.js

Express, Next.js, Fastify, Koa, and other Node.js frameworks

.NET

ASP.NET Core, .NET Framework applications

Python

Django, Flask, FastAPI applications

PHP

Laravel, Symfony, WordPress and custom PHP applications

Static Sites

Hugo, Jekyll, Next.js static exports, and HTML/CSS/JS

Go

Go web applications and microservices

Frequently Asked Questions

How long does deployment take?

Deployment time varies based on your application size and complexity. Typically, most applications deploy within 2-5 minutes. You can monitor the deployment progress in real-time through the control panel.

Can I rollback to a previous version?

Yes! SmarterASP.NET automatically maintains deployment history. You can easily rollback to any previous deployment with a single click if needed.

What about database migrations?

You can configure custom deployment scripts to run database migrations automatically. Add migration commands to your deployment process configuration.

Is there a maximum file size limit?

The deployment system supports repositories up to the default GitHub limits. For very large applications, contact support for custom configuration options.

Can I deploy multiple branches?

Yes, you can set up multiple deployments from different branches. Common patterns include staging (from dev branch) and production (from main branch).

What if deployment fails?

Failed deployments trigger automatic rollback to the last successful version. Check deployment logs for error details and contact support if you need assistance troubleshooting.

Are there additional costs for GitHub deployment?

No, GitHub deployment is included with all SmarterASP.NET hosting plans at no additional cost. It's a core feature available to all customers.

How do I set up continuous deployment?

Once configured, enable "Auto-deploy on push" in your GitHub Deployment settings. Your application will automatically deploy whenever you push to the configured branch.

Ready to Deploy?

Get started with GitHub deployment on SmarterASP.NET today

Visit SmarterASP.NET