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 f74b41b commit 61f1410Copy full SHA for 61f1410
.github/workflows/deploy.yml
@@ -40,10 +40,8 @@ jobs:
40
41
- name: Deploy built files to root for GitHub Pages
42
run: |
43
- # Backup development files
44
- mkdir -p backup-dev
45
- cp index.html backup-dev/
46
- cp -r src backup-dev/ 2>/dev/null || true
+ # Remove everything except .git, .github, and dist
+ find . -maxdepth 1 ! -name '.' ! -name '.git' ! -name '.github' ! -name 'dist' -exec rm -rf {} +
47
48
# Copy built files to root
49
cp -r dist/* .
0 commit comments