~anjan/sxmo.org

bd945b41c0789187b095e7efa5be76fa9d39eb70 — Stacy Harper 2 months ago 7be812e
Add automatic publishing on pages.sr.ht
1 files changed, 16 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +16 -0
@@ 0,0 1,16 @@
image: alpine/edge
packages:
  - make
  - lowdown
  - hut
sources:
- https://git.sr.ht/~anjan/sxmo.org
oauth: pages.sr.ht/PAGES:RW
tasks:
- buildpublish: |
    cd sxmo.org
    make
    tar -C dst -cvz . > site.tar.gz
- deploy: |
    [ -e "$HOME"/.config/hut/config ] || complete-build
    hut pages publish sxmo.org/site.tar.gz -d sxmo.org