~craftyguy/blog.craftyguy.net

17042f53d3569cce91e1cfd176bd520d7f400f4e — Clayton Craft 8 months ago e855039
add build.sr.ht manifest
1 files changed, 16 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +16 -0
@@ 0,0 1,16 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages: [ zola ]
environment:
  site: blog.craftyguy.net
sources:
  - https://git.sr.ht/~craftyguy/blog.craftyguy.net
tasks:
  - build: |
      cd $site
      zola build
  - package: |
      cd $site
      tar -C public -cvz . > ../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz