From a3d5e9ce6c004115a32ef98a9db640b2f899c020 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:27:54 -0500 Subject: [PATCH 1/4] Theme updates --- layouts/index.html | 2 +- themes/pulp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 4091ed1..54dff15 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,7 +9,7 @@ {{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }} {{ $profile_width := 250 }} {{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }} - Photo of {{ .Site.Params.Author }} + Photo of {{ .Site.Params.Author }} diff --git a/themes/pulp b/themes/pulp index 39126b0..a49100e 160000 --- a/themes/pulp +++ b/themes/pulp @@ -1 +1 @@ -Subproject commit 39126b0d064055d0e5a4490e9588494969244634 +Subproject commit a49100eee9c37817c8ed34be775b1dadc504b756 From 21cc259e052d2f4070725c8ff694878cd63b6bee Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:28:02 -0500 Subject: [PATCH 2/4] Added onion build and deploy --- .github/workflows/deploy.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d6df263..b327f11 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,11 +43,6 @@ jobs: tar -xvzf hugo.tar.gz sudo mv hugo /usr/local/bin - - name: Build Hugo Website - id: build - run: | - hugo - - name: Install SSH Key run: | install -m 600 -D /dev/null ~/.ssh/id_rsa @@ -59,5 +54,19 @@ jobs: User build IdentityFile ~/.ssh/id_rsa EOL + + - name: Build Hugo Website + id: build + run: | + hugo + - name: Deploy run: ./deploy.sh + + - name: Build Onion Website + run: | + hugo --baseURL "brozek63j22jry6gof2vszo27vh2ed327bqismqu3somrqu622z73eid.onion" --destination "public-onion" + + - name: Deploy onion website + run: | + rsync -Pazc --exclude=*.bak --delete public-onion/ build@Rozek-Nimbus:brandonrozek-onion/ From 066e8ac26a829a8d8859b7569bfdbb09e2d07954 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 14:59:29 -0500 Subject: [PATCH 3/4] Onion build --- .github/workflows/deploy.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b327f11..c276980 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -63,10 +63,21 @@ jobs: - name: Deploy run: ./deploy.sh + - name: Install Onion SSH Key + run: | + install -m 600 -D /dev/null ~/.ssh/id_onion + echo "${{ secrets.ONION_BUILD_SSH_KEY }}" > ~/.ssh/id_onion + cat <> ~/.ssh/config + Host Rozek-Nimbus-Onion + Hostname 158.69.216.99 + User build + IdentityFile ~/.ssh/id_onion + EOL + - name: Build Onion Website run: | hugo --baseURL "brozek63j22jry6gof2vszo27vh2ed327bqismqu3somrqu622z73eid.onion" --destination "public-onion" - name: Deploy onion website run: | - rsync -Pazc --exclude=*.bak --delete public-onion/ build@Rozek-Nimbus:brandonrozek-onion/ + rsync -Pazc --exclude=*.bak --delete public-onion/ build@Rozek-Nimbus-Onion:brandonrozek-onion/ From 3ecfbc478b475d0355b84b61430de823f4ce1084 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sat, 6 Dec 2025 15:09:22 -0500 Subject: [PATCH 4/4] Fixed onion base url --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c276980..601d55e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -76,7 +76,7 @@ jobs: - name: Build Onion Website run: | - hugo --baseURL "brozek63j22jry6gof2vszo27vh2ed327bqismqu3somrqu622z73eid.onion" --destination "public-onion" + hugo --baseURL "http://brozek63j22jry6gof2vszo27vh2ed327bqismqu3somrqu622z73eid.onion/" --destination "public-onion" - name: Deploy onion website run: |