blob: bd50f82448c188d32a2f6c96aa8ee27d52ece185 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
image: debian/bullseye
oauth: pages.sr.ht/PAGES:RW
environment:
site: huyngo.srht.site
tasks:
- install: |
yes | sudo apt install ruby-full golang
gem install jekyll bundler
git clone https://git.sr.ht/~sircmpwn/openring
cd openring
go build -o openring
sudo cp openring /usr/local/bin/
- package: |
cd $site
./create-webring.sh
bundle update
bundle exec jekyll build
cd _site
tar -cvz . > ../../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
|