Repository navigation
Describe uigraph-cli in UIGraph and sync on merge - #27
Merged
Merged
Conversation
Adds .uigraph.yaml and .uigraph/ (service, dependencies, diagrams of the main flows, and an overview doc), all taken from the code on main, so internal UIGraph Cloud users can follow how the system works end to end. Checked with npx uigraph sync, which loads them the way the viewer does. A new workflow syncs them to UIGraph Cloud on every push to main with the pinned uigraph/uigraph-cli:1.0.10 image. It needs the UIGRAPH_TOKEN repo secret. Also points coding agents at .uigraph/AGENTS.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Comment on lines
+18
to
+27
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Sync to UIGraph Cloud | ||
| env: | ||
| UIGRAPH_TOKEN: ${{ secrets.UIGRAPH_TOKEN }} | ||
| run: | | ||
| docker run --rm -v "$PWD:/workspace" -w /workspace \ | ||
| -e UIGRAPH_TOKEN \ | ||
| uigraph/uigraph-cli:1.0.10 sync --enterprise |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describes uigraph-cli in UIGraph (service, dependencies, diagrams of its main flows, an overview doc) so anyone on the internal UIGraph Cloud account can follow how the system works end to end. Adds a workflow that syncs it to UIGraph Cloud on every merge to main.
Needs the
UIGRAPH_TOKENrepo secret before merge, or the first sync run fails. Checked withnpx uigraph sync, which loads the artifacts the way the viewer does; not yet synced to Cloud.🤖 Generated with Claude Code