Mercurial > web
annotate .build.yml @ 93:92f1ea793bf2
layouts/default: put all this cruft as oneliners
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 19 Jun 2024 05:00:17 -0400 |
parents | 484b9c79a149 |
children | f07319404ff9 |
rev | line source |
---|---|
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
1 image: alpine/edge |
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
2 oauth: pages.sr.ht/PAGES:RW |
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
3 packages: |
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
4 - hut |
79 | 5 - linux-headers |
6 - ruby-dev | |
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
7 - ruby-json |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
8 - ruby-jekyll |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
9 - ruby-bundler |
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
10 environment: |
65
008e41cbef1b
CI: replace srht.site link with custom domain
Paper <mrpapersonic@gmail.com>
parents:
62
diff
changeset
|
11 site: paper.us.eu.org |
89 | 12 sources: |
13 - hg+https://hg.paper.us.eu.org/web | |
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
14 tasks: |
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
15 - package: | |
55
aee91b195871
CI: edit tar command so it _hopefully_ works now...
Paper <mrpapersonic@gmail.com>
parents:
54
diff
changeset
|
16 cd web |
79 | 17 bundle config set --local path ".bundler" |
18 bundle install | |
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
19 bundle exec jekyll build |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
20 tar -C _site -cvz . > ../site.tar.gz |
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
21 - upload: | |
80 | 22 hut pages publish -d $site site.tar.gz |