Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Fix demo asset fetch with authenticated GitHub API
Maximilian Roosf89547ecba36
diff --git a/.github/workflows/build-docs.yaml b/.github/workflows/build-docs.yamlindex 3825896d6..fe5c169bb 100644--- a/.github/workflows/build-docs.yaml+++ b/.github/workflows/build-docs.yaml@@ -18,10 +18,11 @@ jobs:tool: [email protected]- name: Fetch demo assets+ env:+ GH_TOKEN: ${{ github.token }}run: |mkdir -p docs/static/assets- for file in $(curl -fsSL https://api.github.com/repos/max-sixty/worktrunk-assets/contents/demos \- | jq -r '.[].name'); do+ for file in $(gh api repos/max-sixty/worktrunk-assets/contents/demos --jq '.[].name'); docurl -fsSL -o "docs/static/assets/$file" \"https://raw.githubusercontent.com/max-sixty/worktrunk-assets/main/demos/$file"done