Skip to content

Code-Triarii/code-triarii.github.io

Repository files navigation

📖 Code Triarii GH Pages Guide

Platform - GitHub Pages Engine - Hugo Deployment - GitHub Actions


🚀 Getting Started

1️⃣ Install Hugo and Clone the Repository

Make sure you have Hugo package installed. Check https://gohugo.io/installation/linux/. For Debian distributions:

sudo apt install hugo

If you rather have it all dockerized pull the hugo image and work from there:

docker pull klakegg/hugo

To start, you need to clone the repository to your local machine.

git clone https://github.com/code-triarii/code-triarii.github.io.git

2️⃣ Modify the Content

Navigate to the /content folder and make your desired changes.

cd code-triarii.github.io/content

⚠️ Please, do not modify /themes/terminal folder if you are unsure of what you are doing.

3️⃣ Test it Locally

Before deploying, you should always test your changes. Run the Hugo server using the following command:

hugo serve

Visit localhost:1313 in your browser to see the live changes.

4️⃣ Build the Site

Build your site and make sure the docs folder gets updated.

hugo

Check if the docs folder has been changed using:

git status

5️⃣ Commit & Push Changes

Once you're satisfied with your changes:

git add .
git commit -m "Describe your changes here"
git push origin master

Wait for GitHub Actions to deploy the page.

6️⃣ Visit the Site

Your changes should now be live (it needs a little bit of time to get everything running correctly). Visit code-triarii.github.io to see them.

About

Github Pages for Code Triarii

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages