diff options
Diffstat (limited to 'post.sh')
| -rwxr-xr-x | post.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh +./build.sh +tmpfile=$(mktemp) +tar -C public/ -cvz . > $tmpfile +curl --oauth2-bearer "$1" -Fcontent=@"$tmpfile" https://pages.sr.ht/publish/lemurianmage.srht.site +rm "$tmpfile" |
