Initial commit.
This commit is contained in:
18
scripts/deploy.sh
Executable file
18
scripts/deploy.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build the TailwindCSS assets
|
||||
npm run build
|
||||
|
||||
# Build the site
|
||||
hugo build
|
||||
|
||||
# Build and push the Docker image
|
||||
docker build -t payneio/civildynamics.org . --file ./Dockerfile
|
||||
docker push payneio/civildynamics.org
|
||||
|
||||
# Deploy to Kubernetes
|
||||
|
||||
# First time...
|
||||
# bin/wild-app-deploy civildynamics
|
||||
|
||||
kubectl rollout restart deployment civildynamics -n civildynamics
|
||||
Reference in New Issue
Block a user