Add pre/post deployment scripts
This commit is contained in:
parent
690a99a8d6
commit
61dc00d86d
11
.dokku/postdeploy.sh
Executable file
11
.dokku/postdeploy.sh
Executable 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
11
.dokku/predeploy.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu -o pipefail
|
||||||
|
|
||||||
|
main() {
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
echo "-----> predeploy says hi"
|
||||||
|
}
|
||||||
|
|
||||||
|
main
|
Reference in New Issue
Block a user