From 61dc00d86d7eee56a04afccbab3cdedf479b4c94 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Tue, 17 Mar 2020 13:43:26 +0100 Subject: [PATCH] Add pre/post deployment scripts --- .dokku/postdeploy.sh | 11 +++++++++++ .dokku/predeploy.sh | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100755 .dokku/postdeploy.sh create mode 100755 .dokku/predeploy.sh diff --git a/.dokku/postdeploy.sh b/.dokku/postdeploy.sh new file mode 100755 index 0000000..413e38d --- /dev/null +++ b/.dokku/postdeploy.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -eu -o pipefail + +main() { + set -eu + + echo "-----> postdeploy says hi" +} + +main diff --git a/.dokku/predeploy.sh b/.dokku/predeploy.sh new file mode 100755 index 0000000..8915791 --- /dev/null +++ b/.dokku/predeploy.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -eu -o pipefail + +main() { + set -eu + + echo "-----> predeploy says hi" +} + +main