<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Deployment and previews on OINK</title><link>https://pgsty.github.io/oink.pgsty.com/docs/deployment/</link><description>Recent content in Deployment and previews on OINK</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://pgsty.github.io/oink.pgsty.com/docs/deployment/index.xml" rel="self" type="application/rss+xml"/><item><title>Deployment with Amazon S3 and CloudFront</title><link>https://pgsty.github.io/oink.pgsty.com/docs/deployment/amazon/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pgsty.github.io/oink.pgsty.com/docs/deployment/amazon/</guid><description>&lt;p&gt;There are several options for publishing your web site using
&lt;a href="https://aws.amazon.com"&gt;Amazon Web Services&lt;/a&gt;. This section describes the most
basic option, deploying your site using an S3 bucket and activating the
CloudFront CDN (content delivery network) to speed up the delivery of your
deployed contents.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;After your
&lt;a href="https://portal.aws.amazon.com/billing/signup#/start"&gt;registration&lt;/a&gt; at AWS,
create your S3 bucket, connect it with your domain, and add it to the
CloudFront CDN. This
&lt;a href="https://www.noorix.com.au/blog/how-to/hosting-static-website-with-aws-s3-cloudfront/"&gt;blog post&lt;/a&gt;
has all the details and provides easy to follow step-by-step instructions for
the whole procedure.&lt;/p&gt;</description></item><item><title>Deployment on GitHub Pages</title><link>https://pgsty.github.io/oink.pgsty.com/docs/deployment/github-pages/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pgsty.github.io/oink.pgsty.com/docs/deployment/github-pages/</guid><description>&lt;p&gt;If your source is hosted on &lt;a href="https://github.com/"&gt;GitHub&lt;/a&gt;, GitHub Pages can build and publish the
site with a single Actions workflow. The consuming site needs Hugo Extended but
does not need Node.js, npm, PostCSS, or a generated deployment branch.&lt;/p&gt;
&lt;p&gt;Project sites use a URL such as &lt;code&gt;https://&amp;lt;OWNER&amp;gt;.github.io/&amp;lt;REPOSITORY&amp;gt;/&lt;/code&gt;; user
and organization sites use &lt;code&gt;https://&amp;lt;OWNER&amp;gt;.github.io/&lt;/code&gt;. Custom domains are also
supported.&lt;/p&gt;
&lt;h2 id="prepare-the-repository"&gt;Prepare the repository&lt;a class="td-heading-self-link" href="#prepare-the-repository" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Push the complete site source to GitHub and confirm that this command succeeds
from the repository root:&lt;/p&gt;</description></item><item><title>Serving your site locally</title><link>https://pgsty.github.io/oink.pgsty.com/docs/deployment/local/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pgsty.github.io/oink.pgsty.com/docs/deployment/local/</guid><description>&lt;p&gt;Depending on your deployment choice you may want to serve your site locally
during development to preview content changes. To serve your site locally:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Ensure you have an up to date local copy of your site files cloned from your
repo.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ensure Hugo Extended and any source-fetch tools required by your chosen
installation method are installed, as described in &lt;a href="https://pgsty.github.io/oink.pgsty.com/docs/get-started/docsy-as-module/installation-prerequisites/"&gt;Prerequisites and
installation&lt;/a&gt;. Node.js and PostCSS are not site-build prerequisites.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Run the &lt;code&gt;hugo server&lt;/code&gt; command in your site root. By default your site will be
available at &lt;a href="http://localhost:1313"&gt;http://localhost:1313&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Deployment on Netlify</title><link>https://pgsty.github.io/oink.pgsty.com/docs/deployment/netlify/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pgsty.github.io/oink.pgsty.com/docs/deployment/netlify/</guid><description>&lt;p&gt;&lt;a href="https://www.netlify.com/"&gt;Netlify&lt;/a&gt; can build a site from GitHub, GitLab, or Bitbucket and publish a
preview for each pull request. An OINK consumer build runs Hugo Extended
directly; it does not install Node.js packages or invoke PostCSS.&lt;/p&gt;
&lt;h2 id="configure-the-site"&gt;Configure the site&lt;a class="td-heading-self-link" href="#configure-the-site" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;Push the complete source to your Git provider, import the repository in Netlify,
and use these build settings:&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Setting&lt;/th&gt;
					&lt;th&gt;Value&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;Build command&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;hugo --gc --minify&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;Publish directory&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;public&lt;/code&gt;&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;&lt;code&gt;HUGO_VERSION&lt;/code&gt;&lt;/td&gt;
					&lt;td&gt;&lt;code&gt;0.164.0&lt;/code&gt; or another theme-validated version&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;If Netlify detects package manifests that exist only for theme-maintainer
tooling, disable automatic dependency installation for the site. They are not
part of the consumer build contract.&lt;/p&gt;</description></item><item><title>Page chrome</title><link>https://pgsty.github.io/oink.pgsty.com/docs/deployment/chrome/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pgsty.github.io/oink.pgsty.com/docs/deployment/chrome/</guid><description>&lt;p&gt;The theme renders the complete navbar, sidebar, table of contents, search entry,
and footer in each applicable page. This is the canonical production structure
for normal builds, previews, offline archives, search crawlers, and clients
without JavaScript.&lt;/p&gt;
&lt;p&gt;The experimental upstream &lt;code&gt;td.chrome = shared&lt;/code&gt; donor/restoration mode is not
part of this theme. The &lt;code&gt;params.td.chrome&lt;/code&gt; setting has no effect and should be
removed from migrated site configuration. Keeping one server-rendered structure
avoids a second visual implementation and keeps navigation, language selection,
accessibility semantics, and offline behavior deterministic.&lt;/p&gt;</description></item></channel></rss>