Skip to content

Netlify

This guide will walk you through the process of deploying your Zenith resume to Netlify. It offers a free tier with 100 GB of bandwidth and 300 build minutes per month.

Drag and drop deployment

Using this approach, you build your project locally and then drag and drop the build folder to the Netlify dashboard.

  1. Create a Netlify account or log in to your existing one.

  2. Click on the Add new site button and select the Deploy manually option.

  3. Build your project using the npm run build command.

  4. Drag and drop the dist folder from your machine to Netlify.

  5. Your resume is online! However, its name is probably not very user-friendly. To change it, go to Site configuration and click the Change site name button.

  6. Provide your project name and copy the site URL generated below the input field.Set project name

  7. On your local machine, create a .env file in the root of your project and add the ASTRO_SITE=url-you-copied variable.

  8. Build your project once again using the npm run build command.

  9. On Netlify go to Deploys, then drag and drop the dist folder again.

  10. Your resume is online! To update it in the future, just repeat steps 8 and 9.

Automated deployment

Using this approach, you connect your GitHub repository to the Netlify dashboard and deploy your project automatically after each push to the main branch.

  1. Create a Netlify account or log in to your existing one.

  2. Click on the Add new site button and select the Import an existing project option.

  3. Select GitHub as your Git provider and choose your Zenith fork. You may be asked to give Netlify permissions to access your repositories.

  4. Provide the site name and copy site URL generated below the input field. Also click Check availability to ensure provided name can be used.Set project name

  5. Go to the Environment variables section and add ASTRO_SITE variable with the url you copied. Set env variable

  6. Click the deploy button.

  7. After the deployment is finished, your resume is online! To update it in the future, you only need to push local changes to the main branch of your repository.

Custom domain

If you add a custom domain for your resume, remember to update the ASTRO_SITE environment variable the same way you set it during the initial project setup.