Skip to content

Commit e4e1bb9

Browse files
authored
ci(release): drop the broken, redundant docs job (#42)
The release workflow's update-docs job deployed `./docs/build`, but the docs are Astro and build to `docs/dist` — so it failed with ENOENT on every tag. It also duplicated docs.yml, which already deploys Pages correctly (path: docs/dist, official Pages flow) on docs/** pushes. Remove the job rather than fix it; docs.yml is the single source of truth for the docs site. Claude-Session: https://claude.ai/code/session_01M4Dd5oASBGHwr6ts6wTnYn
1 parent 3e13150 commit e4e1bb9

1 file changed

Lines changed: 4 additions & 28 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -170,31 +170,7 @@ jobs:
170170
run: |
171171
cosign sign --yes "${REGISTRY}/${{ steps.img.outputs.name }}@${{ steps.build.outputs.digest }}"
172172
173-
update-docs:
174-
name: Update Documentation
175-
runs-on: ubuntu-latest
176-
needs: release
177-
steps:
178-
- name: Checkout code
179-
uses: actions/checkout@v6
180-
181-
- name: Setup Node.js
182-
uses: actions/setup-node@v6
183-
with:
184-
node-version: '20'
185-
cache: 'npm'
186-
cache-dependency-path: docs/package-lock.json
187-
188-
- name: Install dependencies
189-
working-directory: docs
190-
run: npm ci
191-
192-
- name: Build documentation
193-
working-directory: docs
194-
run: npm run build
195-
196-
- name: Deploy to GitHub Pages
197-
uses: peaceiris/actions-gh-pages@v4
198-
with:
199-
github_token: ${{ secrets.GITHUB_TOKEN }}
200-
publish_dir: ./docs/build
173+
# Docs deployment lives in docs.yml (Astro -> docs/dist, official Pages
174+
# flow), which already runs on docs/** pushes. The job that used to live
175+
# here pointed at ./docs/build (wrong for Astro) and duplicated docs.yml,
176+
# so it was removed rather than fixed.

0 commit comments

Comments
 (0)