blob: 6d66adfae445ba1a9b80d84abd3d8510b9e4dd2d (
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
- rsync
sources:
- https://git.sr.ht/~adamski/adast.dk
- https://git.sr.ht/~bt/smu
environment:
site: adast.dk
mirror: adamski.srht.site
tasks:
- smu: |
cd smu
sudo make install
- package: |
cd $site
make build
tar -C build -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz
hut pages publish -d $mirror site.tar.gz
|