More script updates and site content changes

Also in this commit, I added my Keybase proof btw.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-07-15 16:49:46 +00:00
parent 8b77e1e70f
commit 3e9b4b9bf3
7 changed files with 148 additions and 13 deletions

View file

@ -1,5 +1,8 @@
# The Docker image that will be used to build your app
image: quay.io/ajhalili2006/mkdocs-material-build-ci:nightly
image:
name: quay.io/ajhalili2006/mkdocs-material-build-ci:nightly
entrypoint:
- sh
stages:
- build
@ -41,6 +44,6 @@ pages:srht:
- pages
script:
- tar -C gmi -cvz . -f site.tar.gz
- doppler run -- ./bin/deploykit-srht.site.sh
- doppler run -- ./bin/deploykit-gmi.sh
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH

21
bin/deploykit-gmi.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/env
set -xe
SOURCEHUT_USERNAME=${SOURCEHUT_PAGES_SUBDOMAIN:-"ajhalili2006"}
GEMINI_CUSTOM_DOMAIN=${GEMINI_CUSTOM_DOMAIN:-"gemini.andreijiroh.eu.org"}
if [[ $SOURCEHUT_PAGES_TOKEN == "" ]]; then
echo "missing SOURCEHUT_PAGES_TOKEN variable"
exit 1
fi
tar -C gmi -cvz . -f site.tar.gz
curl --oauth2-bearer "$SOURCEHUT_PAGES_TOKEN" \
-Fcontent=@site.tar.gz \
-Fprotocol=GEMINI \
"https://pages.sr.ht/publish/${SOURCEHUT_USERNAME}.srht.site"
curl --oauth2-bearer "$SOURCEHUT_PAGES_TOKEN" \
-Fcontent=@site.tar.gz \
-Fprotocol=GEMINI \
"https://pages.sr.ht/publish/${GEMINI_CUSTOM_DOMAIN}"

View file

@ -48,6 +48,13 @@ else
${DEPLOY_COMMAND:-"$_command_prefix"}
fi
if [[ $_branch_name_git == "main" ]]; then
tar -C public -cvz . -f site-build.tar.gz
curl --oauth2-bearer "$SOURCEHUT_PAGES_TOKEN" \
-Fcontent=@site-build.tar.gz \
"https://pages.sr.ht/publish/ajhalili2006.srht.site"
fi
if [[ $DEBUG != "" ]]; then
set +x
fi

View file

@ -1,11 +0,0 @@
#!/bin/env bash
if [[ $SOURCEHUT_PAGES_TOKEN == "" ]]; then
echo "missing SOURCEHUT_PAGES_TOKEN variable"
exit 1
fi
curl --oauth2-bearer "$SOURCEHUT_PAGES_TOKEN" \
-Fcontent=@site.tar.gz \
-Fprotocol=GEMINI \
https://pages.sr.ht/publish/username.srht.site

View file

@ -0,0 +1,27 @@
# Well hello there!
=> gemini://gemini.andreijiroh.eu.org Viewing from mirror?
I'm ~ajhalili2006 (he/they, with emphasis on they/them) and this is my Gemini capsule, hosted on sourcehut pages
(also mirrored to tildes I'm currently in with Gemini support).
Just in case you're wondering, you're viewing the Gemini version of my website, so things might be a bit different.
## In the hub
=> /resume.gmi - my resume for prospective employers
=> /user-manual/index.gmi
=> https://poly.me/ajhalili2006 - my portfolio on Polywork
## Where to find me elsewhere
* => https://tilde.zone/@ajhalili2006 Fediverse (I mostly active there)
* => https://ajhalili2006.substack.com/
* => https://ajhalili2006.start.page All of my socials in one place
----------
Made with love by Andrei Jiroh Halili (@ajhalili2006)
=> https://creativecommons.org/licenses/by-sa/4.0/ Copyright 2023. Some rights reserved under CC BY-SA 4.0.
=> https://mau.dev/ajhalili2006/tildeverse-web/-/blob/main/gmi View sources on GitLab

32
gmi/user-manual/index.gmi Normal file
View file

@ -0,0 +1,32 @@
# ~ajhalili2006's personal user manual
=> https://andreijiroh.eu.org/user-manual Clearnet version
=> View in Coda https://coda.io/@ajhalili2006/readme/personal-user-manual-8
Hello there, and welcome to my personal user manual. This is where I document
about myself for others in terms of communications and teamwork. While the
contents of this mini wiki will be always a work in progress, Ill expand
them as I add missing information and update outdated details behind
the scenes.
## About me
I'm Andrei Jiroh, a Filipino 16-year-old junior high school student at day and Node.js and Deno backend developer at Recap Time Squad (https://recaptime.eu.org) (technically not a legally-recognized company (see footnote 1) yet where I host most of my projects) and Linux + family IT sysadmin, resident Bash script kiddie on personal projects at home. I'm also happens to be a middle child while being neurodivergent, specifically I'm [#ActuallyAutistic](https://autism-advocacy.fandom.com/wiki/ActuallyAutistic) (see footnote 2).
## Footnotes
1. Or a legal entity for holding funds, any legal assets (including copyright and trademark) and signing in contracts.
My planned setup would be start as a small business in Philippines, securing things like
2. There are many great resources from the autistic community (and also the
wider neurodiversity and disability rights community), especially from Neuroclastic
(https://neuroclastic.com/autism-101-resources-from-the-autistic-community/),
if you want to be an ally or simply want to help make inclusivity across
intersections mainstream.
----------
Made with love by Andrei Jiroh Halili (@ajhalili2006)
=> https://creativecommons.org/licenses/by-sa/4.0/ Copyright 2023. Some rights reserved under CC BY-SA 4.0.
=> https://mau.dev/ajhalili2006/tildeverse-web/-/blob/main/gmi View sources on GitLab

View file

@ -0,0 +1,56 @@
==================================================================
https://keybase.io/ajhalili2006
--------------------------------------------------------------------
I hereby claim:
* I am an admin of https://ajhalili2006.srht.site
* I am ajhalili2006 (https://keybase.io/ajhalili2006) on keybase.
* I have a public key ASAXwAZqEGgXyiBghN9xDUMKKJmUVBYpsx6YwfotdVcn4Qo
To do so, I am signing this object:
{
"body": {
"key": {
"eldest_kid": "012071060ed2b9d510bc8b5fcf284ebb80c53c8e4263eabc0640076de606f8dbc1a20a",
"host": "keybase.io",
"kid": "012017c0066a106817ca206084df710d430a289994541629b31e98c1fa2d755727e10a",
"uid": "98a290bf324f69de20392da6fc112919",
"username": "ajhalili2006"
},
"merkle_root": {
"ctime": 1689439635,
"hash": "2787c1b0133ba9f21cfb2c46bbe7fefd57fb7b98167add9555b96f4187058824b36234fe765014d3a9af9a9a60c8a450b8953d256f34d8fcb0718227c71e965f",
"hash_meta": "76dd78db03a4cb8eda87f288cd8b7679ebf9879f2e3140a50c32b048c332da95",
"seqno": 24689444
},
"service": {
"entropy": "w0bsIz3zsaYLfPNA0HYqD4ox",
"hostname": "ajhalili2006.srht.site",
"protocol": "https:"
},
"type": "web_service_binding",
"version": 2
},
"client": {
"name": "keybase.io go client",
"version": "6.0.1"
},
"ctime": 1689439690,
"expire_in": 504576000,
"prev": "7222977cc55ae9d25452d2db7c2fae4ab6eed3b1b78b79408998c05a8fa87c6c",
"seqno": 76,
"tag": "signature"
}
which yields the signature:
hKRib2R5hqhkZXRhY2hlZMOpaGFzaF90eXBlCqNrZXnEIwEgF8AGahBoF8ogYITfcQ1DCiiZlFQWKbMemMH6LXVXJ+EKp3BheWxvYWTESpcCTMQgciKXfMVa6dJUUtLbfC+uSrbu07G3i3lAiZjAWo+ofGzEICHxFxV4MwyrLAP1uZNYwor5X74veAAlbu4nFHQJWA54AgHCo3NpZ8RAZm1nY8PiJiFLONeRJsXRHKtuKr1DREkztXS+W78+gUNL1j1SBn2LWZ+FGvBdMOqIVaqSheFJ9n/wfi0oaWsXDahzaWdfdHlwZSCkaGFzaIKkdHlwZQildmFsdWXEICRbYicFrjdOp5SVqW1FurZC73GMaTM83m/5FHk7vACZo3RhZ80CAqd2ZXJzaW9uAQ==
And finally, I am proving ownership of this host by posting or
appending to this document.
View my publicly-auditable identity here: https://keybase.io/ajhalili2006
==================================================================