From 5287f9f0458676e06a90f782e5dcbdd565b69183 Mon Sep 17 00:00:00 2001 From: cxgreat2014 Date: Fri, 28 Feb 2020 06:28:22 +0000 Subject: [PATCH 1/2] Add dokku deploy script --- deploy/dokku.sh | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 deploy/dokku.sh diff --git a/deploy/dokku.sh b/deploy/dokku.sh new file mode 100644 index 00000000..6b239a4e --- /dev/null +++ b/deploy/dokku.sh @@ -0,0 +1,67 @@ +#!/usr/bin/env sh + +# This script used to automatically deploy dokku +# global wildcard domain's certificate. +# If your dokku global domain is dokku.example.com +# and you dokku app is domains-app-enabled +# and the app heve domains like dokku.example.com +# *.dokku.example.com, this script will +# automatic execute `dokku certs:update app Date: Fri, 28 Feb 2020 06:32:08 +0000 Subject: [PATCH 2/2] Fix typo --- deploy/dokku.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/dokku.sh b/deploy/dokku.sh index 6b239a4e..1c0d6100 100644 --- a/deploy/dokku.sh +++ b/deploy/dokku.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env sh +#!/usr/bin/env bash # This script used to automatically deploy dokku # global wildcard domain's certificate.