mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-12-10 20:20:24 +00:00
Added onion build and deploy
This commit is contained in:
parent
a3d5e9ce6c
commit
21cc259e05
1 changed files with 14 additions and 5 deletions
19
.github/workflows/deploy.yml
vendored
19
.github/workflows/deploy.yml
vendored
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue