~docbibi/memos

da4650145f485fdec8f847ab434496430e6821e8 — Borjan Tchakaloff 1 year, 1 month ago a477392
Automate deployment to SourceHut's static web hosting
1 files changed, 12 insertions(+), 0 deletions(-)

A .build.yaml
A .build.yaml => .build.yaml +12 -0
@@ 0,0 1,12 @@
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
environment:
  site: readthememo.app
tasks:
- package: |
    cd $site
    tar -cvz . > ../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz