Build file deployment
Effortlessly deploy your website by uploading a build file generated with npm run build.
#
To deploy your website using a build file, follow these steps:#
1. Navigate to the Dashboard:- From the sidebar menu, click on "Site."
![Site-deployment](/assets/images/siteb1-4b177b937b9740d93f751d8592d1a772.png)
#
2. Create a New Site:- Click on "+ New site."
![Site-deployment](/assets/images/siteb2-88f09048ff8598b9557ec31c753c89ae.png)
#
3. Choose Organization:- Select the organization where you want to deploy the website.
![Site-deployment](/assets/images/siteb3-0357ef7fa19dc3a659392e90ba56d57f.png)
#
4. Deploy your build:- Upload build file: If you choose to upload from your local device, ensure that you have the build file in .zip format ready to upload.
![Site-deployment](/assets/images/siteb4-db4a61bf8b2c1672c25ea908fcd03ad9.png)
Import from github : + if you prefer to import from GitHub, the repository should contain only the build files necessary for deployment and you will need to provide the repository link and branch name. + Please note that currently, we support only public repositories.
![Site-deployment](/assets/images/siteb5-e6cbe320a823a01142e76e20deb3194e.png)
#
5. Deploy- Once the zip file is uploaded or Imported from GitHub , the application will automatically deploy your website.
#
6. After Deployment- Once the deployment process is complete, click on the Name of application to view its details.
- Click on "Open Site" to visit your website and verify the deployment.
![Site-deployment](/assets/images/siteb7-987a4f6708a66fed2d89eb6bb2371750.png)
#
7. Custom-Domain Option- Below the application details, you'll find the custom domain option. Click on that option to access the link where you can map your domain to the deployed website.
![Site-deployment](/assets/images/siteb8-ede7f81c38f9cdc15f45ecd9e0c36e4c.png)