From ae92cb08d1dc8326389f48f9de0ac4c64b04ad72 Mon Sep 17 00:00:00 2001 From: Mars Hall Date: Sat, 26 Aug 2017 20:20:14 -0700 Subject: [PATCH] Run any pending migrations upon release. --- .gitignore | 2 +- Procfile | 1 + content/data/.gitkeep | 0 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 content/data/.gitkeep diff --git a/.gitignore b/.gitignore index 6c2152f67..5de26dfc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ node_modules/ npm-debug.log* -content/data/ +content/data/*.db content/logs/ config.production.json content/data/ghost-local.db \ No newline at end of file diff --git a/Procfile b/Procfile index c11b1e428..405e99f94 100644 --- a/Procfile +++ b/Procfile @@ -1 +1,2 @@ web: npm start --production +release: knex-migrator migrate --mgpath node_modules/ghost diff --git a/content/data/.gitkeep b/content/data/.gitkeep new file mode 100644 index 000000000..e69de29bb