diff --git a/package.json b/package.json index 3c85e6d..573618b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "dev": "bun --watch src/index.ts", "start": "bun run src/index.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": { "@discordjs/core": "^2.0.1", diff --git a/src/scripts/deploy.sh b/src/scripts/deploy.sh new file mode 100755 index 0000000..fa4ab35 --- /dev/null +++ b/src/scripts/deploy.sh @@ -0,0 +1,7 @@ +ssh shironeko " +set -e +cd artemis.js +git pull +~/.bun/bin/bun install --frozen-lockfile +pm2 restart artemis +" \ No newline at end of file