~lobisquit/personal-website

65479c66f98cb5b78d175f8938b7293eb21c6648 — Enrico Lovisotto 2 years ago 5ad2848
Added build script for Sourcehut
1 files changed, 21 insertions(+), 0 deletions(-)

A .build.yml
A .build.yml => .build.yml +21 -0
@@ 0,0 1,21 @@
image: alpine/edge

oauth: pages.sr.ht/PAGES:RW
packages:
  - cargo

environment:
  site: lobisquit.srht.site

tasks:
  - build: |
      cd personal-website/
      ./publish.sh

  - package: |
      cd personal-website/public/
      tar -cvz . > ../site.tar.gz

  - upload: |
      cd personal-website/
      hut pages publish -d $site site.tar.gz