blob: 12c82077a6698c8ea1aeef2ea80edad15b3ea7699347d64552ce2fa8a8d8b6a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- hugo
environment:
site: nicholasjohnson.srht.site
tasks:
- generate_journal: |
cd $site
hugo -e gemini
hugo -e web
- package_website: |
cd $site/public/website
tar -cvz . > ../../../site.tar.gz
- package_capsule: |
cd $site/public/capsule
tar -cvz . > ../../../capsule.tar.gz
- upload_website: |
hut pages publish -d $site site.tar.gz
- upload_capsule: |
hut pages publish -d $site -p GEMINI capsule.tar.gz
|