Create deploy script
This commit is contained in:
parent
042d83e2c1
commit
a0f6e47f57
5 changed files with 101 additions and 2 deletions
3
justfile
3
justfile
|
|
@ -8,8 +8,7 @@ build:
|
|||
bun build --compile --minify --target bun --outfile ./target/gomoku ./src/index.ts
|
||||
|
||||
deploy: build
|
||||
rsync -avz target/gomoku sepiatonesxyz:~/gomoku/gomoku
|
||||
rsync -avz --delete public/ sepiatonesxyz:~/gomoku/public
|
||||
ansible-playbook -i ansible/hosts.ini ansible/deploy.yml
|
||||
|
||||
test:
|
||||
bun test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue