We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e4866e commit 273ef77Copy full SHA for 273ef77
.github/workflows/astro.yml
@@ -56,7 +56,7 @@ jobs:
56
mkdir -p /tmp/astro-docs
57
58
# Copy built docs to temp directory
59
- rsync -av --delete --exclude 'node_modules' docs/dist/ /tmp/astro-docs/
+ rsync -av --delete --exclude 'node_modules' --exclude '.git' --exclude '.gitignore' /tmp/astro-docs/ .
60
61
echo "node_modules" > .gitignore
62
echo "docs/node_modules/" >> .gitignore
@@ -71,7 +71,7 @@ jobs:
71
fi
72
73
# Copy docs from temp directory to current branch
74
- rsync -av --delete --exclude 'node_modules' /tmp/astro-docs/ .
75
76
rm -rf node_modules
77
rm -rf docs/node_modules
0 commit comments