~whereswaldon/chipalee

509fdb7dd5e5bb655e6f152ed79edd2f295df2de — Chris Waldon 1 year, 9 months ago 4906681
ci: automate site deployment

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
1 files changed, 13 insertions(+), 0 deletions(-)

A .builds/deploy.yml
A .builds/deploy.yml => .builds/deploy.yml +13 -0
@@ 0,0 1,13 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
environment:
  site: whereswaldon.srht.site
tasks:
- package: |
    cd chipalee
    go run gioui.org/cmd/gogio@latest -target js .
    tar -C chipalee -cvz . > ../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz