From 32e77678c38d39ea3f304652f6a8368ad0149cf4 Mon Sep 17 00:00:00 2001 From: Eachan Johnson Date: Sat, 12 Oct 2024 18:26:41 +0100 Subject: [PATCH] Fix HF deployment --- .github/workflows/hf-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hf-sync.yml b/.github/workflows/hf-sync.yml index a81ec5b..d1290b8 100644 --- a/.github/workflows/hf-sync.yml +++ b/.github/workflows/hf-sync.yml @@ -21,7 +21,7 @@ jobs: set -x git remote add space https://huggingface.co/spaces/scbirlab/chem-converter.git git fetch space main && git switch -c space-main space/main - git rm -rf * + git rm -rf * .[!]* git checkout main -- app git mv app/* . && rm -r app/ git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"