Skip to content

Commit cef4e13

Browse files
super3claude
andcommitted
Fix website workflow permissions issue
- Change from global to local installation of marked - Use npx to run locally installed marked package - Fixes EACCES permission error in GitHub Actions 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ac3bd5f commit cef4e13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ jobs:
134134
EOF
135135
136136
# Convert README.md to HTML (skip the title and first badges since we have custom hero)
137-
npm install -g marked
138-
tail -n +9 README.md | marked >> _site/index.html
137+
npm install marked
138+
tail -n +9 README.md | npx marked >> _site/index.html
139139
140140
cat >> _site/index.html << 'EOF'
141141
</article>

0 commit comments

Comments
 (0)