#!/bin/sh tar -cvzf site.tar.gz *.gmi curl \ --oauth2-bearer "${GEMINI_TOKEN}" \ -Fcontent=@site.tar.gz \ -Fprotocol=GEMINI \ https://pages.sr.ht/publish/gemini.syobon.net rm site.tar.gz