~kunev/undef.me

0078798b6ca76d8075c512cdef2c0ce999be818f — Evgeni Kunev 2 months ago 955572a
Add sourcehut build config file
1 files changed, 14 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +14 -0
@@ 0,0 1,14 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hugo
- hut
environment:
  site: undef.me
tasks:
- package: |
    cd $site
    hugo
    tar -C public -cvz . > ../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz