annotate .build.yml @ 79:815c0da68384

code: add quips
author Paper <paper@paper.us.eu.org>
date Mon, 20 May 2024 03:39:55 -0400
parents 5fdf5f346b92
children ec24b7d30ce9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
815c0da68384 code: add quips
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
5 - linux-headers
815c0da68384 code: add quips
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
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
52
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 tasks:
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
13 - package: |
55
aee91b195871 CI: edit tar command so it _hopefully_ works now...
Paper <mrpapersonic@gmail.com>
parents: 54
diff changeset
14 cd web
79
815c0da68384 code: add quips
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
15 bundle config set --local path ".bundler"
815c0da68384 code: add quips
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
16 bundle install
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents: 65
diff changeset
17 bundle exec jekyll build
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents: 65
diff changeset
18 tar -C _site -cvz . > ../site.tar.gz
52
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
19 - upload: |
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
20 hut pages publish -d $site site.tar.gz