Compare commits

..

No commits in common. "3ecfbc478b475d0355b84b61430de823f4ce1084" and "9f325c1f320fc43d2ad15b9629d37a0cee6abc5d" have entirely different histories.

3 changed files with 7 additions and 27 deletions

View file

@ -43,6 +43,11 @@ 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
@ -54,30 +59,5 @@ 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.Permalink }}" alt="Photo of {{ .Site.Params.Author }}">
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" 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 a49100eee9c37817c8ed34be775b1dadc504b756
Subproject commit 39126b0d064055d0e5a4490e9588494969244634