From 41a4cd64d01267761c1b6ab5b78057e32ee550b2 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 6 Oct 2024 20:23:23 +0800 Subject: [PATCH] Optimize model loading with cache --- .github/workflows/ci-cd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 591ea9d..3346b15 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -21,6 +21,7 @@ on: jobs: sync-to-huggingface-space: + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3