annotate .build.yml @ 60:de0de92b6f32

CI: exclude vcs directories
author Paper <mrpapersonic@gmail.com>
date Mon, 19 Dec 2022 18:52:07 -0500
parents d1e77bf4b37f
children 42debd613942
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
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
5 environment:
54
526c77466ecf CI: your-name->mrpapersonic
Paper <mrpapersonic@gmail.com>
parents: 52
diff changeset
6 site: mrpapersonic.srht.site
52
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
7 tasks:
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
8 - package: |
55
aee91b195871 CI: edit tar command so it _hopefully_ works now...
Paper <mrpapersonic@gmail.com>
parents: 54
diff changeset
9 cd web
60
de0de92b6f32 CI: exclude vcs directories
Paper <mrpapersonic@gmail.com>
parents: 59
diff changeset
10 tar -cvz . --exclude-vcs > ../site.tar.gz
52
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
11 - upload: |
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
12 hut pages publish -d $site site.tar.gz