add deploy script

This commit is contained in:
Juan Carlos Manzanero Domínguez 2024-07-09 07:47:06 -06:00
parent 596ece6d3e
commit 5982e2654f
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -24,4 +24,4 @@ pnpm-debug.log*
.idea/
.vercel
deploy.sh
vars.txt

5
deploy.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
source ./vars.txt
pnpm run build && scp -i ${SSH_KEY} -r ./dist/* ${USER}@${HOST}:${DIR}