Desplegar un Proyecto

·ver .md ↗·chatgpt ↗·claude ↗

Para desplegar en Netlify tu proyecto, sigue estos pasos:

  1. Iniciar sesión
  2. Conecta tu repositorio
    • Haz clic en "Add new site"
    • Selecciona "Import an existing project"
    • Conecta GitHub, GitLab o Bitbucket
    • Elige tu repositorio
  3. Configuración
    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

    Una vez añadidas las variables de entorno, haz clic en Deploy site
  4. Esperar el despliegue
    • Netlify instalará dependencias, ejecutará el build y publicará tu sitio.
    • Cuando finalice, verás la URL del sitio.