3 files changed, 2 insertions(+), 8 deletions(-)
M Makefile
D publish
D serve
M Makefile => Makefile +2 -2
@@ 5,10 5,10 @@ public: clean
zola build
upload: site.tar.gz
- ./publish
+ curl --oauth2-bearer $$(bat ~/.srht-token) -Fcontent=@site.tar.gz https://pages.sr.ht/publish/alterae.srht.site
clean:
rm -rf public site.tar.gz
serve: clean
- ./serve>
\ No newline at end of file
+ zola serve --interface 0.0.0.0 --base-url $$(hostname -f)
D publish => publish +0 -3
@@ 1,3 0,0 @@
-#!/usr/bin/bash
-
-curl --oauth2-bearer $(bat ~/.srht-token) -Fcontent=@site.tar.gz https://pages.sr.ht/publish/alterae.srht.site
D serve => serve +0 -3
@@ 1,3 0,0 @@
-#!/usr/bin/bash
-
-zola serve --interface 0.0.0.0 --base-url "$(hostname -f)">
\ No newline at end of file