blob: c12d48a43e558b5b1a28b2580aed7ea90decf3f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
image: debian/bullseye
oauth: pages.sr.ht/PAGES:RW
packages:
- golang
- hugo
- cargo
environment:
site: huyngo.srht.site
tasks:
- install: |
cargo install mdbook
git clone https://git.sr.ht/~sircmpwn/openring
cd openring
go build -o openring
sudo cp openring /usr/local/bin/
- package: |
git clone https://git.disroot.org/huyngo/conlang
cd $site
./create-webring.sh
hugo
cd public
cp -r ../../conlang/book/ conlang
tar -cvz . > ../../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
|