From 7d0681c3c67d7d5af1ee0e2d88960c7e372bca8f Mon Sep 17 00:00:00 2001 From: VR Date: Sun, 22 Jun 2025 10:02:50 +0100 Subject: [PATCH] fixin --- .gitea/workflows/publish.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 7bc4c48..f92f8fb 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -35,7 +35,6 @@ jobs: - name: Set up cluster access 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 | jq -r .items[0].metadata.name + run: echo "TARGET_POD=$(kubectl get pods -n my-stuff -l app=digital-garden -o json | jq -r .items[0].metadata.name)" >> "$GITHBU_ENV" - name: Copy contents to PVC run: kubectl cp content my-stuff/$TARGET_POD:/www/data/