~taavi/taavi.wtf

50cb9646a89309ef3e1ddbb71c064216339ea8a6 — Taavi Väänänen 1 year, 6 months ago 7c19de9
Generate GPG WKD directory

With many thanks to this blog post[0] for instructions.

[0]: https://www.postsubmeta.net/blog/2021/02/15/static-openpgp-web-key-directory-setup/

Implements: https://todo.sr.ht/~taavi/ops/10
1 files changed, 2 insertions(+), 0 deletions(-)

M .build.yml
M .build.yml => .build.yml +2 -0
@@ 4,6 4,7 @@ repositories:
packages:
  - hugo
  - hut
  - sq
sources:
  - https://git.sr.ht/~taavi/taavi.wtf
oauth: pages.sr.ht/PAGES:RW


@@ 11,6 12,7 @@ tasks:
  - build: |
      cd taavi.wtf
      hugo --gc --minify --cleanDestinationDir --baseURL "https://taavi.wtf/"
      sq wkd generate public taavi.wtf ./static/pgp.txt
      tar -C public -cvz . > ../site.tar.gz
  - upload: |
      hut pages publish -d taavi.wtf --not-found /404.html site.tar.gz