Add deploy script

This commit is contained in:
Ian Adam Naval 2024-04-02 01:45:10 -04:00
parent 8de90f3980
commit 62c52b5747
Signed by: potato
GPG Key ID: D22B0F9008C43F2B

8
script/deploy Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# script/deploy: Deploys to the live environment.
script/cibuild
docker login
docker push docker.io/ianonavy/ianonavy:latest
kubectl -n ianonavy rollout restart deploy/ianonavy