Skip to content

Commit 6fed02d

Browse files
committed
fix docs deploy - exclude node modules
1 parent 91af66f commit 6fed02d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/astro.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ jobs:
5757
# Copy built docs to temp directory
5858
cp -r docs/dist/* /tmp/astro-docs/
5959
60+
echo "node_modules" > .gitignore
61+
6062
# Check if astro-docs branch exists
6163
if git show-ref --verify --quiet refs/remotes/origin/astro-docs; then
6264
git checkout astro-docs

0 commit comments

Comments
 (0)