annotate .build.yml @ 52:e59f81c76a28

CI: Convert GitHub Actions script to sourcehut
author Paper <mrpapersonic@gmail.com>
date Mon, 19 Dec 2022 16:55:48 -0500
parents
children 526c77466ecf
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:
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
6 site: your-username.srht.site
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: |
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
9 cd $site
e59f81c76a28 CI: Convert GitHub Actions script to sourcehut
Paper <mrpapersonic@gmail.com>
parents:
diff changeset
10 tar -cvfz site.tar.gz *
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