Skip to content

Commit ead63f5

Browse files
authored
Merge pull request #9 from aevyraai/feat/sync-docs
ci: sync-docs workflow + Colab badge in README
2 parents 7d3ab65 + 099c813 commit ead63f5

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

.github/workflows/sync-docs.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Sync docs to docs repo
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
workflow_dispatch:
10+
11+
jobs:
12+
sync:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout forge
17+
uses: actions/checkout@v6
18+
19+
- name: Checkout docs repo
20+
env:
21+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
22+
run: |
23+
git clone https://x-access-token:${GH_TOKEN}@github.com/aevyraai/docs.git /tmp/docs
24+
cd /tmp/docs
25+
git config user.name "Aevyra Bot"
26+
git config user.email "bot@aevyra.ai"
27+
28+
- name: Copy docs into docs repo
29+
run: |
30+
rm -rf /tmp/docs/forge
31+
cp -r docs/ /tmp/docs/forge
32+
33+
- name: Commit and push if changed
34+
run: |
35+
cd /tmp/docs
36+
git add forge/
37+
git diff --cached --quiet && echo "No changes, skipping" && exit 0
38+
git commit -m "chore: sync forge docs from forge@${{ github.sha }}"
39+
git push origin main

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Security](https://github.com/aevyraai/forge/actions/workflows/security.yml/badge.svg)](https://github.com/aevyraai/forge/actions/workflows/security.yml)
55
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
66
[![Docs](https://img.shields.io/badge/docs-aevyra.mintlify.app-6E3FF3)](https://aevyra.mintlify.app/forge/)
7+
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/aevyraai/forge/blob/main/notebooks/forge_quickstart.ipynb)
78

89
Forge tunes your vLLM deployment overnight. Give it a model, a GPU, and a
910
workload trace. It runs an autonomous loop — propose a config, boot the

0 commit comments

Comments
 (0)