~sircmpwn/pages.sr.ht-examples

c3b42b368b7976f1b56ca85a46e297adcce9971a — Erazem Kokot 1 year, 11 months ago adeada2
Use hut instead of acurl for publishing Zola page
1 files changed, 4 insertions(+), 2 deletions(-)

M zola.yml
M zola.yml => zola.yml +4 -2
@@ 1,5 1,7 @@
image: alpine/edge
packages: [ zola ]
packages:
  - hut
  - zola
oauth: pages.sr.ht/PAGES:RW
environment:
  site: www.example.org


@@ 13,4 15,4 @@ tasks:
      cd my-website
      tar -C public -cvz . > ../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
      hut pages publish -d $site site.tar.gz