Add haste.colinknapp.com to traefik rule and add ship.sh
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Leopere 2026-05-10 09:00:14 -04:00
parent 8c5904e648
commit 11ad87cbaf
Signed by: colin
SSH Key Fingerprint: SHA256:nRPCQTeMFLdGytxRQmPVK9VXY3/ePKQ5lGRyJhT5DY8
2 changed files with 14 additions and 1 deletions

13
ship.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
if [ $# -lt 1 ]; then
echo "usage: ./ship.sh <commit message>" >&2
exit 1
fi
message="$*"
git add .
git commit -m "$message"
git push

View File

@ -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"