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 76c1b97 commit 74ca4e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0 # Ensure full clone to avoid shallow update issues
- name: Install Git LFS
run: sudo apt-get install git-lfs
- name: Install Hugging Face Hub
Expand All @@ -21,7 +23,6 @@ jobs:
HF_USERNAME: ${{ secrets.HF_USERNAME }}
run: |
git lfs install
huggingface-cli login --token $HF_TOKEN
git config --global credential.helper store
echo "https://${{ secrets.HF_USERNAME }}:${{ secrets.HF_TOKEN }}@huggingface.co" > ~/.git-credentials
git push https://huggingface.co/${{ secrets.HF_USERNAME }}/LongRoPE master:main --force
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 push huggingface master:main --force

0 comments on commit 74ca4e2

Please sign in to comment.