From 0ef1227043dbaafc9099c5c7bec85e78b70898ac Mon Sep 17 00:00:00 2001 From: Chris Raible Date: Thu, 10 Oct 2024 13:50:28 +0100 Subject: [PATCH] Converted sh script to a yarn script --- .github/scripts/docker:up.sh | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100755 .github/scripts/docker:up.sh diff --git a/.github/scripts/docker:up.sh b/.github/scripts/docker:up.sh deleted file mode 100755 index e55dde1b4e..0000000000 --- a/.github/scripts/docker:up.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -git submodule update --init -docker compose up --attach ghost --no-log-prefix "$@" \ No newline at end of file diff --git a/package.json b/package.json index ef0580f9a1..77162c745b 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "reset:data:empty": "cd ghost/core && node index.js generate-data --clear-database --quantities members:0,posts:0 --seed 123", "reset:data:xxl": "cd ghost/core && node index.js generate-data --clear-database --quantities members:2000000,posts:0,emails:0,members_stripe_customers:0,members_login_events:0,members_status_events:0 --seed 123", "docker:reset": "docker-compose -f .github/scripts/docker-compose.yml down -v && docker-compose -f .github/scripts/docker-compose.yml up -d --wait", - "up": ".github/scripts/docker:up.sh", + "up": "git submodule update --init && docker compose up --attach ghost --no-log-prefix", "docker:dev:entry": "node .github/scripts/docker-dev-full.js", "lint": "nx run-many -t lint", "test": "nx run-many -t test",