From ff1fc85c85a90d8f3570470d43afc5b5a04f6372 Mon Sep 17 00:00:00 2001
From: Bruno <103858681+EsseLowNitro@users.noreply.github.com>
Date: Wed, 11 Dec 2024 16:35:42 -0300
Subject: [PATCH] lil' refactor here 'n there
---
.github/workflows/static.yml | 7 +-
_config.yaml | 3 +
templates/header.html | 7 -
{markdown => website}/CODE_OF_CONDUCT.md | 5 +
{markdown => website}/CONTRIBUTING.md | 5 +
{markdown => website}/DONATE.md | 5 +
{markdown => website}/FAQ.md | 5 +
{markdown => website}/IMAGES.md | 5 +
markdown/README.md => website/INDEX.md | 5 +
{markdown => website}/KARGS.md | 5 +
{markdown => website}/POSTINSTALL-README.md | 5 +
{markdown => website}/PREINSTALL-README.md | 5 +
{markdown => website}/RECOMMENDED.md | 5 +
{markdown => website}/SECURITY.md | 5 +
{markdown => website}/SUPPORT.md | 5 +
{markdown => website}/USERNS.md | 5 +
website/_includes/header.html | 20 +
website/_layout/common-page.html | 41 ++
website/_layout/main-page.html | 56 +++
website/assets/apple-touch-icon.png | Bin 0 -> 21082 bytes
website/assets/favicon.svg | 1 +
website/assets/main.css | 518 ++++++++++++++++++++
website/assets/secureblue.svg | 1 +
website/assets/some-random-laptop.svg | 1 +
website/favicon.ico | Bin 0 -> 32870 bytes
website/index.html | 9 -
26 files changed, 710 insertions(+), 19 deletions(-)
create mode 100644 _config.yaml
delete mode 100644 templates/header.html
rename {markdown => website}/CODE_OF_CONDUCT.md (98%)
rename {markdown => website}/CONTRIBUTING.md (98%)
rename {markdown => website}/DONATE.md (92%)
rename {markdown => website}/FAQ.md (99%)
rename {markdown => website}/IMAGES.md (99%)
rename markdown/README.md => website/INDEX.md (98%)
rename {markdown => website}/KARGS.md (97%)
rename {markdown => website}/POSTINSTALL-README.md (98%)
rename {markdown => website}/PREINSTALL-README.md (91%)
rename {markdown => website}/RECOMMENDED.md (91%)
rename {markdown => website}/SECURITY.md (66%)
rename {markdown => website}/SUPPORT.md (51%)
rename {markdown => website}/USERNS.md (96%)
create mode 100644 website/_includes/header.html
create mode 100644 website/_layout/common-page.html
create mode 100644 website/_layout/main-page.html
create mode 100644 website/assets/apple-touch-icon.png
create mode 100644 website/assets/favicon.svg
create mode 100644 website/assets/main.css
create mode 100644 website/assets/secureblue.svg
create mode 100644 website/assets/some-random-laptop.svg
create mode 100644 website/favicon.ico
delete mode 100644 website/index.html
diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index 53250ac..c07a7b6 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -30,12 +30,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- - name: Build static files
- run: ./build-website
+ - name: Build the site in the jekyll/builder container
+ run: |
+ docker run -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
- path: 'website/'
+ path: 'website/_site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
diff --git a/_config.yaml b/_config.yaml
new file mode 100644
index 0000000..3f10168
--- /dev/null
+++ b/_config.yaml
@@ -0,0 +1,3 @@
+domain: esselownitro.github.io
+url: https://esselownitro.github.io
+baseurl: /esselownitro.github.io/website
\ No newline at end of file
diff --git a/templates/header.html b/templates/header.html
deleted file mode 100644
index 5ee6d63..0000000
--- a/templates/header.html
+++ /dev/null
@@ -1,7 +0,0 @@
-