~kmdodrill/blog

40bdfb2172de6a46647489d033d8b15aa7be2f51 — Kenneth Dodrill 1 year, 5 months ago e134700
fix deploy
1 files changed, 4 insertions(+), 3 deletions(-)

M .build.yml
M .build.yml => .build.yml +4 -3
@@ 3,11 3,12 @@ oauth: pages.sr.ht/PAGES:RW
packages:
  - hugo
environment:
  site: blog
  project_dir: blog
  site: kennydodrill.com
tasks:
  - package: |
      cd $site
      cd $project_dir
      hugo
      tar -C public -cvz . > ../site.tar.gx
      tar -C public -cvz . > ../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz