From d30d06bfdb3b0c7534e67a01fb6db710cb8500be Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Wed, 28 Aug 2024 22:55:16 -0400 Subject: [PATCH] gotta go fast --- .gitignore | 1 + build | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100755 build diff --git a/.gitignore b/.gitignore index 73b9c10..9a4ef19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ target/ dist/ +cards/ diff --git a/build b/build new file mode 100755 index 0000000..e0b6fcf --- /dev/null +++ b/build @@ -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: