Skip to content

Commit 985a856

Browse files
fix(docs): fix GitHub Pages links and CI/CD workflow
- Fix README documentation links to work with GitHub Pages Jekyll - Remove .html extensions from documentation links - Fix CI/CD workflow non-fast-forward push error - Add git pull --rebase before push in documentation update job - Add retry logic for robust push operations Fixes broken documentation links and CI/CD pipeline failures.
1 parent 453097a commit 985a856

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,22 @@ jobs:
369369
370370
[skip ci]"
371371
372-
git push origin main
373-
echo "✅ Documentation updates committed and pushed"
372+
# Pull latest changes to avoid non-fast-forward errors
373+
echo "🔄 Pulling latest changes..."
374+
git pull origin main --rebase
375+
376+
# Push with retry logic
377+
echo "🚀 Pushing documentation updates..."
378+
for i in {1..3}; do
379+
if git push origin main; then
380+
echo "✅ Documentation updates committed and pushed"
381+
break
382+
else
383+
echo "⚠️ Push failed (attempt $i/3), retrying..."
384+
git pull origin main --rebase
385+
sleep 2
386+
fi
387+
done
374388
fi
375389
376390
# ============================================================================

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,12 @@ my-company-analytics-prod-1234:
201201

202202
## 📚 Documentation
203203

204-
- **[Quick Start Guide](https://dipseth.github.io/dataproc-mcp/QUICK_START.html)** - Get started in 5 minutes
205-
- **[Knowledge Base Semantic Search](https://dipseth.github.io/dataproc-mcp/KNOWLEDGE_BASE_SEMANTIC_SEARCH.html)** - Natural language queries and setup
204+
- **[Quick Start Guide](https://dipseth.github.io/dataproc-mcp/QUICK_START)** - Get started in 5 minutes
205+
- **[Knowledge Base Semantic Search](https://dipseth.github.io/dataproc-mcp/KNOWLEDGE_BASE_SEMANTIC_SEARCH)** - Natural language queries and setup
206206
- **[API Reference](https://dipseth.github.io/dataproc-mcp/api/)** - Complete tool documentation
207-
- **[Configuration Examples](https://dipseth.github.io/dataproc-mcp/CONFIGURATION_EXAMPLES.html)** - Real-world configurations
207+
- **[Configuration Examples](https://dipseth.github.io/dataproc-mcp/CONFIGURATION_EXAMPLES)** - Real-world configurations
208208
- **[Security Guide](https://dipseth.github.io/dataproc-mcp/security/)** - Best practices and compliance
209-
- **[Installation Guide](https://dipseth.github.io/dataproc-mcp/INSTALLATION_GUIDE.html)** - Detailed setup instructions
209+
- **[Installation Guide](https://dipseth.github.io/dataproc-mcp/INSTALLATION_GUIDE)** - Detailed setup instructions
210210

211211
## 🔧 MCP Client Integration
212212

0 commit comments

Comments
 (0)