annotate .build.yml @ 62:5e57212fcd4c

CI: remove --exclude-vcs in tar command
author Paper <mrpapersonic@gmail.com>
date Mon, 19 Dec 2022 18:56:26 -0500
parents 42debd613942
children 008e41cbef1b
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
62
5e57212fcd4c CI: remove --exclude-vcs in tar command
Paper <mrpapersonic@gmail.com>
parents: 61
diff changeset
10 tar -cvz * > ../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