~alterae/alterae.srht.site

11d63160038b8f0db9db7e27632d3863ba483386 — Michelle S 2 years ago 08c340b
Refactor to use hut cli
1 files changed, 1 insertions(+), 4 deletions(-)

M justfile
M justfile => justfile +1 -4
@@ 7,11 7,8 @@ tarball: build
	tar -C public -cvz . > site.tar.gz

# Publish the site to `alterae.srht.site`.
# TODO: refactor to use hut cli
publish: tarball
	curl \
		--oauth2-bearer $(pass sourcehut/token) \
		-Fcontent=@site.tar.gz https://pages.sr.ht/publish/alterae.srht.site
	hut pages publish site.tar.gz --domain alterae.srht.site

# Remove all build artifacts.
clean: