Deploy a Project

·view .md ↗·chatgpt ↗·claude ↗

To deploy your project on Netlify, follow these steps:

  1. Sign in
  2. Connect your repository
    • Click "Add new site"
    • Select "Import an existing project"
    • Connect GitHub, GitLab or Bitbucket
    • Choose your repository
  3. Configuration
    TeamLLOS
    Project namenombreweb
    Branch to deploymain
    Base directoryfrontend
    Build commandpnpm run generate
    Publish directoryfrontend/dist
    Functions directoryfrontend/dist
    KeyValue
    APP_ENVproduction
    SANITY_PROJECT_IDxxxxxxxx
    SANITY_PROJECT_DATASETproduction
    SANITY_API_VERSION2024-02-01
    NUXT_PUBLIC_SITE_URLhttps://nombreweb.netlify.app

    Once the environment variables are added, click Deploy site
  4. Wait for the deploy
    • Netlify will install dependencies, run the build and publish your site.
    • When it finishes, you will see the site URL.