viossa.net/deploy.sh
2026-02-05 22:15:23 -05:00

13 lines
265 B
Bash
Executable file

#!/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