[ANN] Sourcehut pages: Gemini capsule hosting
ew.gemini
ew.gemini at nassur.net
Sun Feb 21 08:57:17 GMT 2021
Hello Drew
Drew DeVault writes:
> You can find the details here:
>
> gemini://srht.site
You might want to add "--exclude .git"
to the example manifest given here
gemini://srht.site/automating-deployments.gmi
```
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
environment:
site: your-username.srht.site
tasks:
- package: |
cd $site
tar -cvz --exclude .git . > ../site.tar.gz
- upload: |
acurl -f https://pages.sr.ht/publish/$site \
-Fcontent=@site.tar.gz \
-Fprotocol=GEMINI
```
Cheers,
~ew
--
Keep it simple!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 861 bytes
Desc: not available
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210221/0bdc2651/attachment.sig>
More information about the Gemini
mailing list