fixin
This commit is contained in:
parent
eb38021830
commit
e718ec630a
@ -35,5 +35,6 @@ jobs:
|
|||||||
run: mkdir ~/.kube && echo "${{ secrets.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)
|
||||||
|
- run: ls -al && echo $TARGET_POD
|
||||||
- name: Copy contents to PVC
|
- name: Copy contents to PVC
|
||||||
run: kubectl cp quartz-clone/public my-stuff/$TARGET_POD:/www/data/
|
run: kubectl cp quartz-clone/public my-stuff/$TARGET_POD:/www/data/
|
||||||
|
Loading…
Reference in New Issue
Block a user