gotta go fast

This commit is contained in:
Adam 2024-08-28 22:55:16 -04:00
parent 364d293a4b
commit d30d06bfdb
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
target/
dist/
cards/

13
build Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
# build
cargo build --release
rm -rf ./cards
mkdir cards
cp ./target/release/server ./cards/
rm -rf ./dist
trunk build --release
cp -r ./dist ./cards/
# deploy - note deez is the hostname of my server
rsync -avzp cards deez: