Add pre/post deployment scripts

This commit is contained in:
Luke Murphy 2020-03-17 13:43:26 +01:00
parent 690a99a8d6
commit 61dc00d86d
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 22 additions and 0 deletions

11
.dokku/postdeploy.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
set -eu -o pipefail
main() {
set -eu
echo "-----> postdeploy says hi"
}
main

11
.dokku/predeploy.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
set -eu -o pipefail
main() {
set -eu
echo "-----> predeploy says hi"
}
main