From 4130f8c62f79239b04796debdf9a215f33a0a77d Mon Sep 17 00:00:00 2001 From: Caleb Fahlgren Date: Wed, 2 Oct 2024 16:17:23 -0500 Subject: [PATCH] add back gif --- .github/workflows/deploy.yml | 11 +++++------ README.md | 2 ++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 220ade7..7915d2f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,9 +13,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - with: - fetch-depth: 0 - lfs: true - name: Set up Node.js uses: actions/setup-node@v3 @@ -28,15 +25,17 @@ jobs: - name: Build project run: npm run build + - name: Copy README to dist + run: cp README.md dist/ + - name: Push to Hugging Face Spaces env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | - cp -r dist/* . - rm -rf .git + cd dist git init git config user.email "github-actions[bot]@users.noreply.github.com" git config user.name "github-actions[bot]" git add . - git commit -m "Update build artifacts" + git commit -m "Update build artifacts and README" git push --force https://${{ secrets.HF_USERNAME }}:$HF_TOKEN@huggingface.co/spaces/${{ secrets.HF_USERNAME }}/${{ secrets.SPACE_NAME }} HEAD:main \ No newline at end of file diff --git a/README.md b/README.md index 0d68f2c..7e61ae1 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ license: apache-2.0 +![WebLLM Gif](./webllm.gif) + ## Chat Stats ![Chat Stats](./chat-stats.png)