feat(projects): migrate moritzgrafde website into monorepo and document in AGENTS.md
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
CONTAINER_NAME="moritzgrafde"
|
||||
DEPLOYMENT="moritzgrafde"
|
||||
NAMESPACE="web"
|
||||
|
||||
hugo
|
||||
|
||||
docker build --platform linux/amd64 -t ${CONTAINER_NAME}:latest -t registry.haumdaucher.de/${CONTAINER_NAME}:latest .
|
||||
docker push registry.haumdaucher.de/${CONTAINER_NAME}:latest
|
||||
|
||||
kubectl patch deployment $DEPLOYMENT -n $NAMESPACE -p "{\"spec\": {\"template\": {\"metadata\": { \"labels\": { \"redeploy\": \"$( date +%s )\"}}}}}"
|
||||
kubectl get po -l app=$DEPLOYMENT -n $NAMESPACE -w
|
||||
Reference in New Issue
Block a user