Skip to content

Commit 6924861

Browse files
committed
Fixed the overwrite HF Space README
1 parent f09e49d commit 6924861

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/deploy-hf-spaces.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,14 @@ jobs:
3333
# Clone HF Space to a clean directory
3434
git clone https://Abeshith:$HF_TOKEN@huggingface.co/spaces/Abeshith/RAG-Project hf-space
3535
36-
# Copy only needed files
36+
# Copy only needed files (excluding README to preserve HF config)
3737
cp -r project/ hf-space/
3838
cp -r templates/ hf-space/
3939
cp -r static/ hf-space/
4040
cp app.py hf-space/
4141
cp Dockerfile hf-space/
4242
cp requirements.txt hf-space/
4343
cp .dockerignore hf-space/
44-
cp README.md hf-space/
4544
4645
# Push to HF Space
4746
cd hf-space

0 commit comments

Comments
 (0)