Spaces:
Running
Running
AILIXIR Bot commited on
Commit ·
131bd94
1
Parent(s): afc1e66
Auto-sync: c77c5f8bdb61b95530c02c8c2ad859592ba3c558
Browse files- .dockerignore +20 -0
- .github/workflows/sync-hf-all.yml +1 -1
.dockerignore
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.git
|
| 2 |
+
.github
|
| 3 |
+
.idea
|
| 4 |
+
.vscode
|
| 5 |
+
.env.*
|
| 6 |
+
!.env.docker
|
| 7 |
+
node_modules
|
| 8 |
+
vendor
|
| 9 |
+
storage/logs/*
|
| 10 |
+
storage/framework/cache/*
|
| 11 |
+
storage/framework/sessions/*
|
| 12 |
+
storage/framework/views/*
|
| 13 |
+
bootstrap/cache/*
|
| 14 |
+
.phpunit.result.cache
|
| 15 |
+
ai_apps
|
| 16 |
+
*.md
|
| 17 |
+
Homestead.json
|
| 18 |
+
Homestead.yaml
|
| 19 |
+
Thumbs.db
|
| 20 |
+
.DS_Store
|
.github/workflows/sync-hf-all.yml
CHANGED
|
@@ -41,7 +41,7 @@ jobs:
|
|
| 41 |
git clone --depth 1 "$REPO_URL" /tmp/hf-space
|
| 42 |
cd /tmp/hf-space
|
| 43 |
# Sync files (new, modified, deleted) but preserve the live database
|
| 44 |
-
rsync -av --delete --exclude=ai_apps --exclude=.git --exclude=.env --exclude=
|
| 45 |
cp "$GITHUB_WORKSPACE/README_HF.md" README.md 2>/dev/null || true
|
| 46 |
# Write .env with all required environment variables for HF Spaces
|
| 47 |
printf '%s\n' \
|
|
|
|
| 41 |
git clone --depth 1 "$REPO_URL" /tmp/hf-space
|
| 42 |
cd /tmp/hf-space
|
| 43 |
# Sync files (new, modified, deleted) but preserve the live database
|
| 44 |
+
rsync -av --delete --exclude=ai_apps --exclude=.git --exclude=.env --exclude=public/imgs --exclude=storage --exclude=Diagrams --exclude=database/ailixir.sqlite "$GITHUB_WORKSPACE/" .
|
| 45 |
cp "$GITHUB_WORKSPACE/README_HF.md" README.md 2>/dev/null || true
|
| 46 |
# Write .env with all required environment variables for HF Spaces
|
| 47 |
printf '%s\n' \
|