diff --git a/ship.sh b/ship.sh new file mode 100755 index 0000000..c601da4 --- /dev/null +++ b/ship.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -euo pipefail + +if [ $# -lt 1 ]; then + echo "usage: ./ship.sh " >&2 + exit 1 +fi + +message="$*" + +git add . +git commit -m "$message" +git push diff --git a/stack.production.yml b/stack.production.yml index cbfa39e..f58db98 100644 --- a/stack.production.yml +++ b/stack.production.yml @@ -39,7 +39,7 @@ services: homepage.description: HasteBin us.nixc.autodeploy: "true" traefik.enable: "true" - traefik.http.routers.production-haste_haste.rule: "Host(`haste.nixc.us`)" + traefik.http.routers.production-haste_haste.rule: "Host(`haste.nixc.us`) || Host(`haste.colinknapp.com`)" traefik.http.routers.production-haste_haste.entrypoints: "websecure" traefik.http.routers.production-haste_haste.tls: "true" traefik.http.routers.production-haste_haste.tls.certresolver: "letsencryptresolver"