From ffb7906d0f7cb08cfdabb814dd559b0e043a62cf Mon Sep 17 00:00:00 2001 From: Marta Anon Date: Tue, 11 Aug 2026 13:26:00 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20update=20site-build=20workflow=20for=20w?= =?UTF-8?q?ebsite/=20=E2=86=92=20docs/=20move?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fullsend commit 8f3a4363 moved VitePress from website/ to docs/ and package-lock.json to the repo root, breaking the cross-repo doc site build in experiments. Also bumps actions/checkout to v7.0.1 and actions/setup-node to v6.5.0 to match the fullsend repo. Closes #50 Co-Authored-By: Claude Opus 4.6 Signed-off-by: Marta Anon --- .github/workflows/site-build.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/site-build.yml b/.github/workflows/site-build.yml index 3f2a8e9..190660a 100644 --- a/.github/workflows/site-build.yml +++ b/.github/workflows/site-build.yml @@ -17,28 +17,31 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout experiments - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} path: experiments - name: Checkout fullsend (doc site source) - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: fullsend-ai/fullsend path: fullsend - - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 with: node-version: "22" cache: npm - cache-dependency-path: fullsend/website/package-lock.json + cache-dependency-path: fullsend/package-lock.json - name: Install and build doc site - working-directory: fullsend/website + working-directory: fullsend run: | npm ci --ignore-scripts - rm -rf ../experiments - ln -s "$GITHUB_WORKSPACE/experiments" ../experiments - ln -sfn "$GITHUB_WORKSPACE/experiments" ../docs/experiments - npx vitepress build + # Replace the fullsend submodule symlink with our checkout so + # VitePress builds the combined site with experiments content + rm -rf docs/experiments + ln -s "$GITHUB_WORKSPACE/experiments" docs/experiments + # Use vitepress directly -- npm run docs:build runs git submodule update + # which would overwrite our symlink and fail without SSH keys + npx vitepress build docs