Skip to content

Commit

Permalink
correct pipline errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jun 1, 2024
1 parent 74ca4e2 commit 2c4bb19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@ 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 }}
HF_USERNAME: ${{ secrets.HF_USERNAME }}
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

0 comments on commit 2c4bb19

Please sign in to comment.