~xdavidwu/xdavidwu.link

efe3d9cbeafcc742c90ba7e46c73c039805a2659 — Pinghao Wu 9 months ago 372a6df
build: do not tar ourselves

supported by hut 0.3.0+
2 files changed, 2 insertions(+), 6 deletions(-)

M .builds/gemini.yml
M .builds/https.yml
M .builds/gemini.yml => .builds/gemini.yml +1 -3
@@ 28,7 28,5 @@ tasks:
        echo "=> $(echo $i | sed s/\.md$/.gmi/) $(echo $i | cut -f 1-3 -d '-'): $(grep '^title:' $i | yq .title)" >> ../gemini/index.gmi
      done
      md2gemini -w -d ../gemini -a -f -i tab -l paragraph *.md
  - pack: |
      tar -C xdavidwu.link/gemini -cvz . > gemini.tar.gz
  - publish: |
      hut pages publish gemini.tar.gz -d xdavidwu.link -p GEMINI
      hut pages publish xdavidwu.link/gemini -d xdavidwu.link -p GEMINI

M .builds/https.yml => .builds/https.yml +1 -3
@@ 29,7 29,5 @@ tasks:
      export MATRIX_ACCESS_TOKEN=$(cat ~/.matrix_access_token)
      set -x
      bundle exec jekyll build
  - pack: |
      tar -C xdavidwu.link/_site -cvz . > https.tar.gz
  - publish: |
      hut pages publish https.tar.gz -d xdavidwu.link
      hut pages publish xdavidwu.link/_site -d xdavidwu.link