This commit is contained in:
VR 2025-06-22 01:32:32 +01:00
parent ad5d76eb13
commit d8addbf7dc

View File

@ -36,6 +36,6 @@ jobs:
run: mkdir ~/.kube && echo "${{ secrets.K8S_CONF }}" > ~/.kube/config
- 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: ls -al && echo $TARGET_POD && kubectl get pods -n my-stuff -l app=digital-garden -o json
- run: ls -al && echo $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
run: kubectl cp content my-stuff/$TARGET_POD:/www/data/