Compare commits

...

4 commits

Author SHA1 Message Date
3ecfbc478b
Fixed onion base url 2025-12-06 15:09:22 -05:00
066e8ac26a
Onion build 2025-12-06 14:59:29 -05:00
21cc259e05
Added onion build and deploy 2025-12-06 14:28:02 -05:00
a3d5e9ce6c
Theme updates 2025-12-06 14:27:54 -05:00
3 changed files with 27 additions and 7 deletions

View file

@ -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,30 @@ jobs:
User build
IdentityFile ~/.ssh/id_rsa
EOL
- name: Build Hugo Website
id: build
run: |
hugo
- 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 <<EOL >> ~/.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 "http://brozek63j22jry6gof2vszo27vh2ed327bqismqu3somrqu622z73eid.onion/" --destination "public-onion"
- name: Deploy onion website
run: |
rsync -Pazc --exclude=*.bak --delete public-onion/ build@Rozek-Nimbus-Onion:brandonrozek-onion/

View file

@ -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) }}
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}" alt="Photo of {{ .Site.Params.Author }}">
<!-- <img src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> -->
</div>
<!-- author -->

@ -1 +1 @@
Subproject commit 39126b0d064055d0e5a4490e9588494969244634
Subproject commit a49100eee9c37817c8ed34be775b1dadc504b756