Skip to content

Commit e9feb0e

Browse files
milldrclaude
andcommitted
fix: exclude tags.yml when creating versioned docs
Use rsync with --exclude to prevent copying tags.yml into versioned docs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0466b68 commit e9feb0e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/docs-version-on-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
7272
# Create versioned docs directory (Docusaurus requires version- prefix)
7373
mkdir -p "versioned_docs/version-${VERSION}"
74-
cp -r docs/* "versioned_docs/version-${VERSION}/"
74+
# Copy docs but exclude tags.yml (it's a config file, not content)
75+
rsync -a --exclude='tags.yml' docs/ "versioned_docs/version-${VERSION}/"
7576
7677
# Create versioned sidebar (Docusaurus requires version- prefix)
7778
mkdir -p versioned_sidebars

0 commit comments

Comments
 (0)