From e9bc78e9ff953cf7e238e15b28baf1d03f8b882b Mon Sep 17 00:00:00 2001 From: Louis Hollingworth Date: Sun, 18 Jun 2023 16:53:02 +0100 Subject: [PATCH] (chore) Added script to migrate on Jenkins Signed-off-by: Louis Hollingworth --- .runner | 14 ++++++++++++++ package.json | 1 + 2 files changed, 15 insertions(+) create mode 100644 .runner diff --git a/.runner b/.runner new file mode 100644 index 0000000..e2c6fc7 --- /dev/null +++ b/.runner @@ -0,0 +1,14 @@ +{ + "WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.", + "id": 1, + "uuid": "174b9b82-0e04-44fe-a2b4-025557d65c60", + "name": "Louiss-MBP.lan", + "token": "e043b8b3e648abb069765370c25f09fbd24aecec", + "address": "https://git.ludoviko.ch/", + "labels": [ + "ubuntu-latest:docker://node:16-bullseye", + "ubuntu-22.04:docker://node:16-bullseye", + "ubuntu-20.04:docker://node:16-bullseye", + "ubuntu-18.04:docker://node:16-buster" + ] +} diff --git a/package.json b/package.json index d399a2e..75e519d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build:changelog": "npx @discordx/changelog --src src", "dev": "node --loader ts-node/esm src/main.ts", "start": "node build/main.js", + "db:deploy": "prisma migrate deploy", "watch": "nodemon --exec ts-node-esm src/main.ts" }, "dependencies": {