Skip to content

Commit 2da6a86

Browse files
committed
chore: test commit
1 parent 041bf25 commit 2da6a86

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/api-spec-merger.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,19 @@ jobs:
3131
git config --local user.email "[email protected]"
3232
git config --local user.name "GitHub Action"
3333
34-
# Copy generated docs
35-
git add docs/api-docs/
34+
# Fetch the gh-pages-test branch
35+
git fetch origin gh-pages-test
3636
37+
# Create a separate worktree for the branch
38+
git worktree add /tmp/gh-pages-test gh-pages-test
39+
40+
# Copy generated docs into the worktree
41+
mkdir -p /tmp/gh-pages-test/docs/api-docs
42+
cp -r docs/api-docs/* /tmp/gh-pages-test/docs/api-docs/ || true
43+
44+
cd /tmp/gh-pages-test
45+
46+
git add .
3747
if git diff --staged --quiet; then
3848
echo "✅ No changes to commit"
3949
else

specs/resourceRecommendation/ClusterResourceRecommendation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.1.0
22
info:
33
title: Resource Recommender
44
description: Analyzes the history of resource usage (such as CPU and memory) for Kubernetes workloads in a specific cluster and generates data-backed recommendations for optimal resource allocation.
5-
version: 0.0.1
5+
version: 0.0.2
66
servers:
77
- url: http://localhost:8080/orchestrator
88
description: Devtron API Server

0 commit comments

Comments
 (0)