Add deploy script

This commit is contained in:
sepia 2025-07-29 13:23:00 -05:00
parent eaff1a9239
commit 5035a5e90d
6 changed files with 110 additions and 16 deletions

View file

@ -8,8 +8,7 @@ build:
bun build --compile --minify --target bun --outfile ./target/sepiatones_xyz ./src/index.tsx
deploy: build
rsync -avz target/sepiatones_xyz sepiatonesxyz:~/sepiatones_xyz/sepiatones_xyz
rsync -avz --delete public/ sepiatonesxyz:~/sepiatones_xyz/public
ansible-playbook -i ansible/hosts.ini ansible/deploy.yml --ask-become-pass
test:
bun test