Add deploy script
This commit is contained in:
parent
eaff1a9239
commit
5035a5e90d
6 changed files with 110 additions and 16 deletions
3
justfile
3
justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue