Netlify

Deploying your Web App to Netlify

Deploying a Web App with CLI

A script is provided to automate the process of deploying your web app to Netlify. You can run this script from the root of your project directory.

Terminal
pnpm netlify-deploy

Make sure you have the Netlify CLI installed globally on your machine. If not, you can install it by running the following command:

Terminal
npm install -g netlify-cli
netlify login

Deploying a Web App with GitHub Actions Workflow

The provided GitHub Actions workflow automates the process of building and deploying your web app to Netlify. It can be triggered manually from the Actions tab in your GitHub repository.

Before running this workflow, ensure the following secrets are configured in your GitHub repository:

SecretDescription
NETLIFY_AUTH_TOKENThe authentication token for Netlify.
NETLIFY_SITE_IDThe site ID in Netlify.

Triggering the Workflow

You can manually trigger this workflow from the Actions tab in your GitHub repository or using Github CLI

Terminal
gh workflow run "Netlify Deployment"

On this page

sidecard

No native development experience? No problem.

Use your existing web dev skills to get your app on the store!