From 2c4bb198d828c3e33745e1367573420d4400843c Mon Sep 17 00:00:00 2001 From: Joshua David Date: Fri, 31 May 2024 20:30:41 -0700 Subject: [PATCH] correct pipline errors --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb03f19..7d5adb9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,6 +17,10 @@ jobs: run: sudo apt-get install git-lfs - name: Install Hugging Face Hub run: pip install huggingface_hub + - name: Configure Git Credentials + run: | + git config --global credential.helper store + echo "https://${{ secrets.HF_USERNAME }}:${{ secrets.HF_TOKEN }}@huggingface.co" > ~/.git-credentials - name: Sync to Hugging Face env: HF_TOKEN: ${{ secrets.HF_TOKEN }} @@ -24,5 +28,5 @@ jobs: run: | git lfs install huggingface-cli login --token $HF_TOKEN --add-to-git-credential - git remote add huggingface https://huggingface.co/${{ secrets.HF_USERNAME }}:${{ secrets.HF_TOKEN }}@huggingface.co/${{ secrets.HF_USERNAME }}/LongRoPE + git remote add huggingface https://huggingface.co/${{ secrets.HF_USERNAME }}/LongRoPE git push huggingface master:main --force