feat: auto-deployment script

This commit is contained in:
nikomiko 2026-02-04 23:28:28 -05:00 committed by Sheldon Cooper
parent 502edd8263
commit 2fd544c0a7
2 changed files with 36 additions and 0 deletions

13
deploy.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
#
# Deployment script to be run remotely on push to master at https://github.com/ViossaDiskordServer/ViossaDotNet/
#
# Usage: sh ./deploy.sh SOURCE_DIR STATIC_DIRECTORY
#
pwd
cd $1/apps/vdn-static/ || exit
npx turbo build \
&& cp -r ./dist/* $2