mirror of
https://github.com/artiemis/artemis.js.git
synced 2026-02-14 10:21:54 +00:00
add deploy script
This commit is contained in:
parent
4f44628a35
commit
7b34907d71
@ -7,7 +7,8 @@
|
|||||||
"dev": "bun --watch src/index.ts",
|
"dev": "bun --watch src/index.ts",
|
||||||
"start": "bun run src/index.ts",
|
"start": "bun run src/index.ts",
|
||||||
"sync": "bun run src/scripts/sync.ts",
|
"sync": "bun run src/scripts/sync.ts",
|
||||||
"test": "bun run src/scripts/test.ts"
|
"test": "bun run src/scripts/test.ts",
|
||||||
|
"deploy": "src/scripts/deploy.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/core": "^2.0.1",
|
"@discordjs/core": "^2.0.1",
|
||||||
|
|||||||
7
src/scripts/deploy.sh
Executable file
7
src/scripts/deploy.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
ssh shironeko "
|
||||||
|
set -e
|
||||||
|
cd artemis.js
|
||||||
|
git pull
|
||||||
|
~/.bun/bin/bun install --frozen-lockfile
|
||||||
|
pm2 restart artemis
|
||||||
|
"
|
||||||
Loading…
x
Reference in New Issue
Block a user