Skip to content

Commit 21cc259

Browse files
committed
Added onion build and deploy
1 parent a3d5e9c commit 21cc259

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ jobs:
4343
tar -xvzf hugo.tar.gz
4444
sudo mv hugo /usr/local/bin
4545
46-
- name: Build Hugo Website
47-
id: build
48-
run: |
49-
hugo
50-
5146
- name: Install SSH Key
5247
run: |
5348
install -m 600 -D /dev/null ~/.ssh/id_rsa
@@ -59,5 +54,19 @@ jobs:
5954
User build
6055
IdentityFile ~/.ssh/id_rsa
6156
EOL
57+
58+
- name: Build Hugo Website
59+
id: build
60+
run: |
61+
hugo
62+
6263
- name: Deploy
6364
run: ./deploy.sh
65+
66+
- name: Build Onion Website
67+
run: |
68+
hugo --baseURL "brozek63j22jry6gof2vszo27vh2ed327bqismqu3somrqu622z73eid.onion" --destination "public-onion"
69+
70+
- name: Deploy onion website
71+
run: |
72+
rsync -Pazc --exclude=*.bak --delete public-onion/ build@Rozek-Nimbus:brandonrozek-onion/

0 commit comments

Comments
 (0)