From 5eb8ab49bd8c3b6bafe50d8e2a0110229878154e Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 01:18:30 +0000 Subject: [PATCH] Fix YAML document separator in e2e heredoc The `---` between the Deployment and Service was indented inside the heredoc, so kubectl didn't recognize it as a document separator. Split into two separate kubectl apply calls. https://claude.ai/code/session_01QfFzqKQUsxxBsiZUhuJ3pG --- .github/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f0bdea3..e61b6fb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -94,7 +94,7 @@ jobs: - name: Deploy Gitea git server run: | - cat <<'EOF' | kubectl apply -f - + kubectl apply -f - <<'EOF' apiVersion: apps/v1 kind: Deployment metadata: @@ -137,7 +137,8 @@ jobs: volumes: - name: data emptyDir: {} - --- + EOF + kubectl apply -f - <<'EOF' apiVersion: v1 kind: Service metadata: