~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

ci(builds.sr.ht): fix directory issue during build

See https://builds.sr.ht/~ajhalili2006/job/1069863 for context

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>

Changed files
+4 -4
+4 -4
.build.yml
···
tasks:
# in case of triggered from hottub
- repo-sync: |
-
cd tildeweb
- build: |
sudo rm /usr/lib/python3*/EXTERNALLY_MANAGED -rfv || true
cd tildeweb && pip3 install -r requirements.txt --user
export PATH="$PATH:$HOME/.local/bin"
bash ./build.sh
- generate-archive: |
-
cd tildeweb
tar -C public -cvz . -f tildeweb-prod-build.tar.gz
- deploy: |
-
cd tildeweb
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' public/ ajhalili2006@p.projectsegfau.lt:/home/ajhalili2006/public_html
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' public/ ajhalili2006@ctrl-c.club:/home/ajhalili2006/public_html
artifacts:
-
- tildeweb/tildeweb-prod-build.tar.gz
···
tasks:
# in case of triggered from hottub
- repo-sync: |
+
cd web
- build: |
sudo rm /usr/lib/python3*/EXTERNALLY_MANAGED -rfv || true
cd tildeweb && pip3 install -r requirements.txt --user
export PATH="$PATH:$HOME/.local/bin"
bash ./build.sh
- generate-archive: |
+
cd web
tar -C public -cvz . -f tildeweb-prod-build.tar.gz
- deploy: |
+
cd web
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' public/ ajhalili2006@p.projectsegfau.lt:/home/ajhalili2006/public_html
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' public/ ajhalili2006@ctrl-c.club:/home/ajhalili2006/public_html
artifacts:
+
- web/tildeweb-prod-build.tar.gz