Polish.
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/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
|
Reference in New Issue
Block a user