This commit is contained in:
VR 2025-06-22 01:13:06 +01:00
parent f9f687aaf6
commit eb38021830

View File

@ -32,7 +32,7 @@ jobs:
- name: Install kubectl - name: Install kubectl
run: curl -LO https://dl.k8s.io/release/v1.33.0/bin/linux/arm64/kubectl && chmod +x kubectl && mv kubectl /usr/bin run: curl -LO https://dl.k8s.io/release/v1.33.0/bin/linux/arm64/kubectl && chmod +x kubectl && mv kubectl /usr/bin
- name: Set up cluster access - name: Set up cluster access
run: mkdir ~/.kube && echo $K8S_CONF > ~/.kube/config run: mkdir ~/.kube && echo "${{ secrets.K8S_CONF }}" > ~/.kube/config
- name: Get target pods's name - name: Get target pods's name
run: export TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name) run: export TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name)
- name: Copy contents to PVC - name: Copy contents to PVC