<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Eleventy and Cloudron]]></title><description><![CDATA[<p dir="auto">Hello folks,</p>
<p dir="auto">I've been experimenting with <a href="https://www.11ty.dev/" target="_blank" rel="noopener noreferrer nofollow ugc">the shiny 11ty static site generator</a> locally deploying it using github + netlify.</p>
<p dir="auto">But I wonder if something like this can be done using my Cloudron infrastructure. I've been reading <a href="https://forum.cloudron.io/topic/4042/beginner-s-guide-hugo-gitlab-ci-surfer">some blogposts</a> <a href="https://forum.cloudron.io/topic/1118/hugo-cms?_=1608559231579">related</a> here in the forum but I haven't found a clear way to do it.</p>
<p dir="auto">An ideal scenario would be to edit the files locally, being able to push those files to Gitea (although my understanding is that this is not possible) and then being served in Surfer. Or something like this.</p>
<p dir="auto">Would something like this possible? Any guidance is appreciated. Thanks!</p>
]]></description><link>https://forum.cloudron.io/topic/11848/eleventy-and-cloudron</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 14:33:43 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11848.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 01 Jun 2024 00:30:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Eleventy and Cloudron on Mon, 03 Jun 2024 09:01:29 GMT]]></title><description><![CDATA[<p dir="auto">If you want some CI/CD inspiration with GitLab + static asset hosting, you can look at our docs repo. It builds using mkdocs and then pushes the build to surfer . See <a href="https://git.cloudron.io/cloudron/docs/-/blob/master/.gitlab-ci.yml?ref_type=heads" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/docs/-/blob/master/.gitlab-ci.yml?ref_type=heads</a> .</p>
<p dir="auto">The build server is a separate VM running gitlab runner (but only costs around 5 a month).</p>
]]></description><link>https://forum.cloudron.io/post/89364</link><guid isPermaLink="true">https://forum.cloudron.io/post/89364</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 03 Jun 2024 09:01:29 GMT</pubDate></item><item><title><![CDATA[Reply to Eleventy and Cloudron on Sun, 02 Jun 2024 16:25:04 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. Yeah, that worked.</p>
<p dir="auto">Just for other people confused as I was: for the Surfer option there's not a need to deploy the site for make it public (such as in using Netlify), but just upload the public folder (just the public folder) to the root in Surfer such as:</p>
<pre><code>surfer put public/* / 
</code></pre>
<p dir="auto">(the <code>*</code> is important because otherwise it will upload the public folder to the root and not the files within it)</p>
<p dir="auto">In case you want to optimize that I'm sure there are ways with a cron and such, but that's another story. For instance, I decided to just use my private Gitea instance for keeping the code hosted outside.</p>
]]></description><link>https://forum.cloudron.io/post/89345</link><guid isPermaLink="true">https://forum.cloudron.io/post/89345</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Sun, 02 Jun 2024 16:25:04 GMT</pubDate></item><item><title><![CDATA[Reply to Eleventy and Cloudron on Sun, 02 Jun 2024 15:44:46 GMT]]></title><description><![CDATA[<p dir="auto"><em>Assuming this is just for you, and not that you want to build out a hosting infrastructure for many people...</em></p>
<p dir="auto">Not quite what you're looking for, but you could</p>
<ol>
<li>Render the 11ty site locally.</li>
<li>Push it to a LAMP stack or similar on Cloudron.</li>
</ol>
<p dir="auto"><a href="https://forum.cloudron.io/topic/4042/beginner-s-guide-hugo-gitlab-ci-surfer">https://forum.cloudron.io/topic/4042/beginner-s-guide-hugo-gitlab-ci-surfer</a></p>
<p dir="auto">suggests a path where you're hosting both Gitlab and runners, which feels heavy. I think Nebulon wrote about this:</p>
<p dir="auto"><a href="https://forum.cloudron.io/topic/1118/hugo-cms/3?_=1717342765687">https://forum.cloudron.io/topic/1118/hugo-cms/3?_=1717342765687</a></p>
<p dir="auto">with Hugo. He used Surfer</p>
<p dir="auto"><a href="https://docs.cloudron.io/apps/surfer/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/surfer/</a></p>
<p dir="auto">which would, potentially, do everything you need. You could do your build, and then push the resulting build outputs (<code>_site</code> or similar; I forget what 11ty spits out) to your server using the Surfer CLI.</p>
<p dir="auto">I've done this for many sites over the years; typically, it's been a recursive <code>scp</code> to sync the build output to the remote host. I've wondered about a setup like you describe, but ultimately, I'm just as happy:</p>
<ol>
<li>Having a git(tea/lab) instance that hosts my code</li>
<li>Doing the test and build locally.</li>
<li>Taking the resulting build product and pushing it to the web host.</li>
</ol>
<p dir="auto">The number of moving pieces to connect up Gitlab/Netlify (now <a href="https://decapcms.org/docs/intro/" target="_blank" rel="noopener noreferrer nofollow ugc">Decap</a>) is more than I would want to do on any given evening, but your mileage may vary. I've been wondering about moving a domain to cloudron, and all it has is one static website. This might be the path I go (that is, use Surfer on Cloudron to be my webhost).</p>
]]></description><link>https://forum.cloudron.io/post/89343</link><guid isPermaLink="true">https://forum.cloudron.io/post/89343</guid><dc:creator><![CDATA[jadudm]]></dc:creator><pubDate>Sun, 02 Jun 2024 15:44:46 GMT</pubDate></item></channel></rss>