~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website
at main 2.3 kB view raw
1image: alpine/edge 2environment: 3 FF_ENABLE_COMMIT_DATA: "true" 4 FF_GENERATE_SOCIAL_CARDS: "true" 5 #SKIP_VENV_SETUP: "true" 6oauth: "pages.sr.ht/SITES:RW pages.sr.ht/PAGES:RW pages.sr.ht/PROFILE" 7packages: 8 - openssh-client 9 - rsync 10 - python3 11 - py3-pip 12 - py3-wheel 13 - py3-setuptools 14 - cairo-dev 15 - freetype-dev 16 - libffi-dev 17 - jpeg-dev 18 - libpng-dev 19 - zlib-dev 20sources: 21 - https://git.sr.ht/~ajhalili2006/web 22secrets: 23 - b4ffc5fb-bc8c-4e89-b38a-48b56155a443 24triggers: 25 - action: email 26 condition: always 27 to: ~ajhalili2006/public-inbox@lists.sr.ht 28 cc: ajhalili2006@gmail.com 29tasks: 30 # in case of triggered from hottub 31 - setup: | 32 # https://www.jeffgeerling.com/blog/2023/how-solve-error-externally-managed-environment-when-installing-pip3 33 sudo rm /usr/lib/python3*/EXTERNALLY-MANAGED -rfv 34 35 # add pipenv for now 36 pip3 install pipenv --user 37 - build: | 38 cd web 39 40 # our build script handles both the install and build stuff itself 41 export PATH="$PATH:$HOME/.local/bin" 42 pipenv install --ignore-pipfile --deploy 43 TILDE_PUBLIC_HTML_BASE=https://ctrl-c.club/~ajhalili2006/ TARGET_DIR=build/ctrl-c.club ./bin/build.sh mkdocs.tilde.yml 44 TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.p.psf.lt TARGET_DIR=build/p.psf.lt ./bin/build.sh mkdocs.tilde.yml 45 TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.dimension.sh TARGET_DIR=build/dimension.sh ./bin/build.sh mkdocs.tilde.yml 46 - generate-archive: | 47 cd web 48 tar -C build -cvz . -f tildeweb-prod-build.tar.gz 49 - deploy-html: | 50 cd web 51 echo "StrictHostKeyChecking=no" >> ~/.ssh/config 52 rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' build/p.psf.lt/ ajhalili2006@p.projectsegfau.lt:/home/ajhalili2006/public_html/ 53 rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' build/ctrl-c.club/ ajhalili2006@ctrl-c.club:/home/ajhalili2006/public_html/ 54 rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' build/dimension.sh/ ajhalili2006@s1.dimension.sh:/home/ajhalili2006/public_html/ 55 - deploy-gemini: | 56 cd web 57 set +x 58 SOURCEHUT_PAGES_TOKEN=${OAUTH2_TOKEN} PRIVATE_SSH_KEY=~/.ssh/passwordless-auth-sshfs ./bin/deploy-gmi.sh 59artifacts: 60 - web/tildeweb-prod-build.tar.gz 61 - web/gemini-site.tar.gz