Per desplegar el teu projecte a Netlify, segueix aquests passos:
- Inicia sessió
- Accedeix a https://app.netlify.com/
- Connecta el teu repositori
- Fes clic a "Add new site"
- Selecciona "Import an existing project"
- Connecta GitHub, GitLab o Bitbucket
- Tria el teu repositori
- Configuració
Team LLOSProject name nombrewebBranch to deploy mainBase directory frontendBuild command pnpm run generatePublish directory frontend/distFunctions directory frontend/distKey Value APP_ENVproductionSANITY_PROJECT_IDxxxxxxxxSANITY_PROJECT_DATASETproductionSANITY_API_VERSION2024-02-01NUXT_PUBLIC_SITE_URLhttps://nombreweb.netlify.app
Un cop afegides les variables d'entorn, fes clic a Deploy site - Espera el desplegament
- Netlify instal·larà dependències, executarà el build i publicarà el teu lloc.
- Quan acabi, veuràs la URL del lloc.