This commit is contained in:
VR 2025-06-22 01:00:18 +01:00
parent d42cd5c172
commit db9e493591

View File

@ -25,11 +25,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build-quartz needs: build-quartz
steps: steps:
- uses: actions/download-artifact@v3 - name: Get artifacts
uses: actions/download-artifact@v3
with: with:
name: content name: content
- name: Install kubectl
run: curl -LO https://dl.k8s.io/release/v1.33.0/bin/linux/arm64/kubectl && chmod +x kubectl
- name: Set up cluster access - name: Set up cluster access
run: echo $K8S_CONF > ~/.kube/config run: mkdir .kube && echo $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