Files
civilsociety-dev/scripts/deploy.sh
2025-07-08 17:26:13 -07:00

19 lines
363 B
Bash
Executable File

#!/bin/bash
# Build the TailwindCSS assets
npm run build
# Build the site
hugo build
# Build and push the Docker image
docker build -t payneio/civilsociety.dev . --file ./Dockerfile
docker push payneio/civilsociety.dev
# Deploy to Kubernetes
# First time...
# bin/wild-app-deploy civilsociety
kubectl rollout restart deployment civilsociety -n civilsociety