blob: 95a1d9ee4bc1a8e101279a5062518b5a5792ac50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
packages:
- ruby-full
- ruby-dev
environment:
site: 1mb.club
sources:
- https://git.sr.ht/~bt/1mb-club
tasks:
- install-bundler: |
sudo gem install bundler
- build: |
cd 1mb-club
sudo bundle install
sudo bundle exec jekyll build
- package: |
cd 1mb-club/_site
tar -cvz . > ../../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
|