This commit is contained in:
@@ -42,4 +42,5 @@ jobs:
|
|||||||
--user=deployer
|
--user=deployer
|
||||||
kubectl config use-context homelab
|
kubectl config use-context homelab
|
||||||
POD=$(kubectl get pods -n blog -l app=hugo-nginx -o jsonpath='{.items[0].metadata.name}')
|
POD=$(kubectl get pods -n blog -l app=hugo-nginx -o jsonpath='{.items[0].metadata.name}')
|
||||||
kubectl cp public/. blog/${POD}:/usr/share/nginx/html/
|
kubectl cp public/. blog/${POD}:/usr/share/nginx/html/
|
||||||
|
|
||||||
Reference in New Issue
Block a user