diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 601d55e..d6df263 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 <> ~/.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/ diff --git a/layouts/index.html b/layouts/index.html index 54dff15..4091ed1 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 a49100e..39126b0 160000 --- a/themes/pulp +++ b/themes/pulp @@ -1 +1 @@ -Subproject commit a49100eee9c37817c8ed34be775b1dadc504b756 +Subproject commit 39126b0d064055d0e5a4490e9588494969244634