mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-06-08 13:39:31 +00:00
ci(builds.sr.ht): use site_url specific builds via env
Also did some fixes over at deploy-gmi script too Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
38b4b39aed
commit
98f0263354
8 changed files with 40 additions and 27 deletions
12
.build.yml
12
.build.yml
|
@ -38,14 +38,18 @@ tasks:
|
|||
|
||||
# our build script handles both the install and build stuff itself
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
bash ./build.sh
|
||||
pipenv install --ignore-pipfile --deploy
|
||||
pipenv run build-tilde-ctrlc
|
||||
pipenv run build-tilde-psflt
|
||||
pipenv run build-tilde-dimensions
|
||||
- generate-archive: |
|
||||
cd web
|
||||
tar -C public -cvz . -f tildeweb-prod-build.tar.gz
|
||||
tar -C build -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
|
||||
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' build/p.psf.lt ajhalili2006@p.projectsegfau.lt:/home/ajhalili2006/public_html
|
||||
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' build/ctrl-c.club ajhalili2006@ctrl-c.club:/home/ajhalili2006/public_html
|
||||
rsync -rP -e 'ssh -i ~/.ssh/passwordless-auth-sshfs' build/dimension.sh ajhalili2006@s1.dimension.sh:/home/ajhalili2006/public_html
|
||||
artifacts:
|
||||
- web/tildeweb-prod-build.tar.gz
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue