feat: auto-deployment script
This commit is contained in:
parent
502edd8263
commit
2fd544c0a7
2 changed files with 36 additions and 0 deletions
13
deploy.sh
Executable file
13
deploy.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue