Mercurial > web
annotate .build.yml @ 78:5fdf5f346b92
*: use jekyll for templates, blogging, etc.
I changed the pages to now use templates, so adding new stuff should
be much much easier in the future
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 20 May 2024 02:49:07 -0400 |
parents | 008e41cbef1b |
children | 815c0da68384 |
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 |
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
5 - ruby-json |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
6 - ruby-jekyll |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
7 - ruby-bundler |
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
8 environment: |
65
008e41cbef1b
CI: replace srht.site link with custom domain
Paper <mrpapersonic@gmail.com>
parents:
62
diff
changeset
|
9 site: paper.us.eu.org |
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
10 tasks: |
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
11 - package: | |
55
aee91b195871
CI: edit tar command so it _hopefully_ works now...
Paper <mrpapersonic@gmail.com>
parents:
54
diff
changeset
|
12 cd web |
78
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
13 bundle exec jekyll build |
5fdf5f346b92
*: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
65
diff
changeset
|
14 tar -C _site -cvz . > ../site.tar.gz |
52
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
15 - upload: | |
e59f81c76a28
CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff
changeset
|
16 hut pages publish -d $site site.tar.gz |