{"id":38323,"date":"2025-11-17T15:19:54","date_gmt":"2025-11-17T18:19:54","guid":{"rendered":"https:\/\/www.locaweb.com.br\/ajuda\/?post_type=ht_kb&#038;p=38323"},"modified":"2025-11-17T15:52:52","modified_gmt":"2025-11-17T18:52:52","slug":"deploy-automatico-como-publicar-seu-site-lovable-na-locaweb","status":"publish","type":"ht_kb","link":"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/deploy-automatico-como-publicar-seu-site-lovable-na-locaweb\/","title":{"rendered":"Deploy autom\u00e1tico: como publicar seu site Lovable na Locaweb"},"content":{"rendered":"    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Informa\u00e7\u00e3o!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Confira o passo a passo em texto e em v\u00eddeo para publicar seu site feito no Lovable com a Hospedagem de Sites Locaweb. E com a publica\u00e7\u00e3o j\u00e1 fica configurado o deploy autom\u00e1tico: cada vez que voc\u00ea atualizar seu projeto no Lovable ele tamb\u00e9m ser\u00e1 publicado na Locaweb, ou seja, n\u00e3o precisa de a\u00e7\u00e3o manual no FTP e com isso voc\u00ea ganha tempo e efici\u00eancia.<\/span>    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h3>Video Tutorial<\/h3>\n<p><iframe loading=\"lazy\" title=\"Deploy Autom\u00e1tico: Como Publicar seu Site Lovable na Locaweb (Tutorial Completo) | Locaweb\" width=\"643\" height=\"362\" src=\"https:\/\/www.youtube.com\/embed\/OWREYGyW4E0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Por que usar deploy autom\u00e1tico (Lovable + Locaweb)?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">O deploy manual, arrastando arquivos por FTP, \u00e9 lento, arriscado e n\u00e3o \u00e9 escal\u00e1vel. Ao integrar a agilidade de cria\u00e7\u00e3o do Lovable com a Hospedagem Locaweb, voc\u00ea implementa um fluxo de trabalho profissional (CI\/CD) e garante:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>performance e baixa lat\u00eancia<\/b><span style=\"font-weight: 400;\">, pois nossos servidores est\u00e3o 100% no Brasil, melhorando a experi\u00eancia do usu\u00e1rio e o SEO (em portugu\u00eas, Otimiza\u00e7\u00e3o para Mecanismos de Busca);<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>controle do ambiente<\/b><span style=\"font-weight: 400;\"> e facilita a conformidade com a LGPD, devido aos servidores estarem em territ\u00f3rio nacional;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>fluxo de trabalho otimizado <\/b><span style=\"font-weight: 400;\">com site atualizado automaticamente sempre que voc\u00ea fizer um push no GitHub.<\/span><\/li>\n<\/ul>\n<h3><b>Pr\u00e9-requisitos para configura\u00e7\u00e3o<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Para seguir este tutorial e configurar o deploy autom\u00e1tico, voc\u00ea precisar\u00e1 de:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">site pronto no Lovable;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/www.locaweb.com.br\/hospedagem-de-sites-com-dominio-gratis\/?utm_source=wiki&amp;utm_medium=link&amp;utm_campaign=artigo-site-lovable-na-hospedagem-locaweb\"><span style=\"font-weight: 400;\">Hospedagem de Site<\/span><\/a><span style=\"font-weight: 400;\"> ativa na Locaweb;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">conta no GitHub.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Nosso plano de a\u00e7\u00e3o ser\u00e1: conectar o Lovable ao GitHub &gt; configurar os dados de FTP da Locaweb como Secrets no GitHub &gt; criar um GitHub Action que envia os arquivos para a Locaweb automaticamente.<\/span><\/p>\n<h3><b>Passo a passo t\u00e9cnico para o deploy autom\u00e1tico<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Siga os 4 passos para conectar o Lovable \u00e0 sua Hospedagem Locaweb e configurar o fluxo de automa\u00e7\u00e3o.<\/span><\/p>\n<ol>\n<li><b> Conecte o Lovable ao GitHub<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">No dashboard do seu projeto no Lovable, voc\u00ea deve navegar at\u00e9 a op\u00e7\u00e3o de publica\u00e7\u00e3o ou integra\u00e7\u00f5es para criar o reposit\u00f3rio do seu c\u00f3digo:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">acesse o dashboard do seu site no Lovable;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">clique em &#8220;Publicar&#8221; ou &#8220;Integra\u00e7\u00f5es&#8221; (o nome pode variar conforme a vers\u00e3o da interface);<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38325\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb.png\" alt=\"\" width=\"1715\" height=\"835\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb.png 1715w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-300x146.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-1024x499.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-768x374.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-50x24.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-1536x748.png 1536w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-60x29.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-1-da-wiki-Lovable-Hospedagem-Locaweb-100x49.png 100w\" sizes=\"auto, (max-width: 1715px) 100vw, 1715px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">selecione &#8220;Conectar ao GitHub&#8221;;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">autorize o acesso \u00e0 sua conta GitHub e crie um novo reposit\u00f3rio;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">clique em &#8220;Sincronizar&#8221;.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ol start=\"2\">\n<li><b> Obtenha os Dados de Acesso FTP da Locaweb<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Para o deploy funcionar, o GitHub Action precisar\u00e1 dos seus dados de acesso ao servidor da Locaweb:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"https:\/\/painelhospedagem.locaweb.com.br\/?utm_source=wiki&amp;utm_medium=link&amp;utm_campaign=artigo-site-lovable-na-hospedagem-locaweb\"><span style=\"font-weight: 400;\">acesse sua Hospedagem de Sites<\/span><\/a><span style=\"font-weight: 400;\"> contratada;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">clique em Administrar no seu site e acesse &#8220;Arquivos e FTP&#8221; no menu;<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38326\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-2-da-wiki-Lovable-Hospedagem-Locaweb.png\" alt=\"\" width=\"709\" height=\"204\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-2-da-wiki-Lovable-Hospedagem-Locaweb.png 709w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-2-da-wiki-Lovable-Hospedagem-Locaweb-300x86.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-2-da-wiki-Lovable-Hospedagem-Locaweb-50x14.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-2-da-wiki-Lovable-Hospedagem-Locaweb-60x17.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-2-da-wiki-Lovable-Hospedagem-Locaweb-100x29.png 100w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">anote as seguintes informa\u00e7\u00f5es: servidor\/Host (endere\u00e7o do seu FTP), usu\u00e1rio e senha.<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ol start=\"3\">\n<li><b> Crie os &#8220;Secrets&#8221; no GitHub (Seguran\u00e7a)<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Por seguran\u00e7a, NUNCA coloque senhas ou dados sens\u00edveis diretamente no c\u00f3digo do workflow. Usaremos os GitHub Secrets para armazenar essas informa\u00e7\u00f5es:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">no seu reposit\u00f3rio GitHub (o que foi criado no Passo 1), navegue at\u00e9 &#8220;Settings&#8221;;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">no menu lateral, v\u00e1 em &#8220;Secrets and variables&#8221; e depois em &#8220;Actions&#8221;;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">clique em &#8220;New repository secret&#8221; e crie os tr\u00eas segredos a seguir, preenchendo com os dados obtidos no passo anterior no painel da Locaweb: HOST (endere\u00e7o do seu FTP), USER (usu\u00e1rio) e PASS (senha).<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38327\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb.png\" alt=\"\" width=\"1339\" height=\"795\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb.png 1339w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb-300x178.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb-1024x608.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb-768x456.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb-50x30.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb-60x36.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-3-da-wiki-Lovable-Hospedagem-Locaweb-100x59.png 100w\" sizes=\"auto, (max-width: 1339px) 100vw, 1339px\" \/><\/p>\n<p>&nbsp;<\/p>\n<ol start=\"4\">\n<li><b> Gere o C\u00f3digo em HTML e Crie o Workflow (GitHub Action)<\/b><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">O Lovable envia o c\u00f3digo-fonte em React. Para hospedar na Locaweb, precisamos da vers\u00e3o est\u00e1tica em HTML:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">use o seguinte prompt na interface do Lovable para solicitar a gera\u00e7\u00e3o da vers\u00e3o est\u00e1tica \u2192 &#8220;<\/span><i><span style=\"font-weight: 400;\">Preciso que crie esse site tamb\u00e9m em HTML, CSS, JS e PHP para que eu possa visualizar na minha hospedagem, mas mantenha tamb\u00e9m a vers\u00e3o em React para que eu possa visualizar o site aqui tamb\u00e9m. Crie a pasta html-version dentro da main.<\/span><\/i><span style=\"font-weight: 400;\">&#8220;;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">na aba &#8220;Actions&#8221; do seu reposit\u00f3rio GitHub, crie um novo workflow ao clicar em &#8220;set up a workflow yourself&#8221; para criar um novo arquivo YAML;<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38328\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb.png\" alt=\"\" width=\"1345\" height=\"300\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb.png 1345w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb-300x67.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb-1024x228.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb-768x171.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb-50x11.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb-60x13.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-4-da-wiki-Lovable-Hospedagem-Locaweb-100x22.png 100w\" sizes=\"auto, (max-width: 1345px) 100vw, 1345px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">nomeie o arquivo como: .github\/workflows\/deploy.yml e cole o c\u00f3digo YAML a seguir no editor<\/span><\/li>\n<\/ul>\n<pre><span style=\"font-weight: 400;\">YAML<\/span>\r\n\r\n<span style=\"font-weight: 400;\">#<\/span> <span style=\"font-weight: 400;\">.github\/workflows\/deploy.yml<\/span>\r\n\r\n\r\n\r\n\r\n<span style=\"font-weight: 400;\">name:<\/span> <span style=\"font-weight: 400;\">Deploy via FTP (Locaweb)<\/span>\r\n\r\n\r\n\r\n\r\n<span style=\"font-weight: 400;\">on:<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">push:<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">branches: [<\/span> <span style=\"font-weight: 400;\">\"main\"<\/span> <span style=\"font-weight: 400;\">]<\/span><span style=\"font-weight: 400;\"> \u00a0 <\/span><span style=\"font-weight: 400;\">#<\/span> <span style=\"font-weight: 400;\">ou<\/span> <span style=\"font-weight: 400;\">outra<\/span> <span style=\"font-weight: 400;\">branch<\/span> <span style=\"font-weight: 400;\">de<\/span> <span style=\"font-weight: 400;\">deploy<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">paths:<\/span>\r\n<span style=\"font-weight: 400;\"> \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">-<\/span> <span style=\"font-weight: 400;\">\"html-version\/**\"<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u00a0\u00a0<\/span><span style=\"font-weight: 400;\">workflow_dispatch:<\/span><span style=\"font-weight: 400;\">\u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">#<\/span> <span style=\"font-weight: 400;\">permite<\/span> <span style=\"font-weight: 400;\">rodar<\/span> <span style=\"font-weight: 400;\">manualmente<\/span><span style=\"font-weight: 400;\">\u2028<\/span>\r\n\r\n<span style=\"font-weight: 400;\">jobs:<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 <\/span><span style=\"font-weight: 400;\">deploy:<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">runs-on:<\/span> <span style=\"font-weight: 400;\">ubuntu-latest<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">steps:<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">-<\/span> <span style=\"font-weight: 400;\">uses:<\/span> <span style=\"font-weight: 400;\">actions\/checkout@v4<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">-<\/span> <span style=\"font-weight: 400;\">name:<\/span> <span style=\"font-weight: 400;\">FTP<\/span> <span style=\"font-weight: 400;\">Deploy<\/span> <span style=\"font-weight: 400;\">Locaweb<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">uses:<\/span> <span style=\"font-weight: 400;\">locaweb\/ftp-deploy@1.0.0<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">with:<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">host:<\/span> <span style=\"font-weight: 400;\">${{<\/span> <span style=\"font-weight: 400;\">secrets.HOST<\/span> <span style=\"font-weight: 400;\">}}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">user:<\/span> <span style=\"font-weight: 400;\">${{<\/span> <span style=\"font-weight: 400;\">secrets.USER<\/span> <span style=\"font-weight: 400;\">}}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">password:<\/span> <span style=\"font-weight: 400;\">${{<\/span> <span style=\"font-weight: 400;\">secrets.PASS<\/span> <span style=\"font-weight: 400;\">}}<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">localDir:<\/span> <span style=\"font-weight: 400;\">\"html-version\"<\/span>\r\n\r\n<span style=\"font-weight: 400;\">\u2028\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <\/span><span style=\"font-weight: 400;\">remoteDir:<\/span> <span style=\"font-weight: 400;\">\"public_html\"<\/span><\/pre>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">clique em &#8220;Commit changes&#8221; para salvar o arquivo deploy.yml;<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38329\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb.png\" alt=\"\" width=\"1229\" height=\"677\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb.png 1229w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb-300x165.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb-1024x564.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb-768x423.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb-50x28.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb-60x33.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-5-da-wiki-Lovable-Hospedagem-Locaweb-100x55.png 100w\" sizes=\"auto, (max-width: 1229px) 100vw, 1229px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">o GitHub Action ser\u00e1 iniciado automaticamente, detectando o novo arquivo;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">acompanhe o processo na aba &#8220;Actions&#8221; e aguarde o \u00edcone indicar o sucesso de deploy conclu\u00eddo \u2705 (arquivos copiados do Lovable\/GitHub e enviados para sua Hospedagem na Locaweb);<\/span><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38330\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb.png\" alt=\"\" width=\"1708\" height=\"490\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb.png 1708w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-300x86.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-1024x294.png 1024w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-768x220.png 768w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-50x14.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-1536x441.png 1536w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-60x17.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2025\/11\/Imagem-6-da-wiki-Lovable-Hospedagem-Locaweb-100x29.png 100w\" sizes=\"auto, (max-width: 1708px) 100vw, 1708px\" \/><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">acesse seu dom\u00ednio e veja que o site feito no Lovable est\u00e1 rodando perfeitamente na infraestrutura Locaweb!<\/span><\/li>\n<\/ul>\n<h3><b>Fluxo de Trabalho Autom\u00e1tico<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Se precisar atualizar o site:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">fa\u00e7a as altera\u00e7\u00f5es necess\u00e1rias no Lovable;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">solicite a exporta\u00e7\u00e3o\/publica\u00e7\u00e3o para o GitHub novamente;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">o GitHub detecta a mudan\u00e7a no branch e inicia o deploy sozinho (o Action);<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">em poucos instantes, a altera\u00e7\u00e3o estar\u00e1 no ar na Locaweb, sem a necessidade de nenhuma interven\u00e7\u00e3o manual via FTP. Aproveite a automa\u00e7\u00e3o!<\/span><\/li>\n<\/ul>\n    \t\t<div class=\"hts-messages hts-messages--success    \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tCom esta integra\u00e7\u00e3o, voc\u00ea uniu o poder de cria\u00e7\u00e3o da Lovable com a robustez e performance da infraestrutura Locaweb. Voc\u00ea automatizou o seu trabalho e est\u00e1 pronto para entregar projetos de alta performance, automatizados e escal\u00e1veis.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n","protected":false},"excerpt":{"rendered":"<p>Video Tutorial &nbsp; Por que usar deploy autom\u00e1tico (Lovable + Locaweb)? O deploy manual, arrastando arquivos por FTP, \u00e9 lento, arriscado e n\u00e3o \u00e9 escal\u00e1vel. Ao integrar a agilidade de cria\u00e7\u00e3o do Lovable com a Hospedagem Locaweb, voc\u00ea implementa um fluxo de trabalho profissional (CI\/CD) e garante: performance e baixa&#8230;<\/p>\n","protected":false},"author":29,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[119],"ht-kb-tag":[],"class_list":["post-38323","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hospedagem-de-sites"],"_links":{"self":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/38323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/comments?post=38323"}],"version-history":[{"count":4,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/38323\/revisions"}],"predecessor-version":[{"id":38334,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/38323\/revisions\/38334"}],"wp:attachment":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/media?parent=38323"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-category?post=38323"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-tag?post=38323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}