Skip to content

Commit 809de1f

Browse files
author
ogmatrix
committed
fix
1 parent 4b22d33 commit 809de1f

2 files changed

Lines changed: 3 additions & 34 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -62,37 +62,6 @@ jobs:
6262
env:
6363
NODE_OPTIONS: --max-old-space-size=6144
6464

65-
- name: Generate database manifest
66-
run: |
67-
VERSION=$(node -p "require('./package.json').version")
68-
echo "📋 Generating manifest for version $VERSION"
69-
npm run db:manifest -- --version "$VERSION" --type full --changelog "Full documentation index update for v$VERSION"
70-
71-
- name: Commit database to repository
72-
run: |
73-
VERSION=$(node -p "require('./package.json').version")
74-
echo "📦 Committing database v$VERSION to repository via Git LFS"
75-
76-
# Ensure data directory exists
77-
mkdir -p data
78-
79-
# Add the database and manifest files
80-
git add data/mcmodding-docs.db data/manifest.json
81-
82-
# Check if there are changes to commit
83-
if git diff --staged --quiet; then
84-
echo "No changes to database files"
85-
else
86-
git commit -m "chore(db): update documentation database to v$VERSION
87-
88-
🤖 Generated with [Claude Code](https://claude.com/claude-code)
89-
90-
Co-Authored-By: github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
91-
92-
git push origin prod
93-
echo "✅ Database committed and pushed"
94-
fi
95-
9665
- name: Publish to npm
9766
if: ${{ github.event.inputs.skip_npm != 'true' }}
9867
run: npm publish --provenance --access public --ignore-scripts
@@ -102,7 +71,7 @@ jobs:
10271
VERSION=$(node -p "require('./package.json').version")
10372
mkdir -p release-artifacts
10473
cp data/mcmodding-docs.db release-artifacts/
105-
cp data/manifest.json release-artifacts/db-manifest.json
74+
cp data/db-manifest.json release-artifacts/db-manifest.json
10675
echo "📦 Release artifacts:"
10776
ls -lh release-artifacts/
10877
@@ -186,7 +155,7 @@ jobs:
186155
- Updated `CHANGELOG.md`
187156
- Updated `.release-please-manifest.json`
188157
- Updated `data/mcmodding-docs.db` (via Git LFS)
189-
- Updated `data/manifest.json`
158+
- Updated `data/db-manifest.json`
190159
191160
**Auto-merge recommended** to keep branches in sync.
192161
branch: sync/prod-to-dev

.github/workflows/update-docs-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Commit documentation updates
7070
if: steps.check_changes.outputs.has_changes == 'true'
7171
run: |
72-
git add data/mcmodding-docs.db data/manifest.json
72+
git add data/mcmodding-docs.db data/db-manifest.json
7373
git commit -m "fix(docs): update documentation index" -m "- Incremental update of documentation pages
7474
- Updated embeddings for semantic search
7575
- Automated weekly update

0 commit comments

Comments
 (0)