From 11ad87cbafd7dfb7feb79a36274e6cb71e3aa25b Mon Sep 17 00:00:00 2001 From: Leopere Date: Sun, 10 May 2026 09:00:14 -0400 Subject: [PATCH] Add haste.colinknapp.com to traefik rule and add ship.sh --- ship.sh | 13 +++++++++++++ stack.production.yml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 ship.sh 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"