Harshana
typo
1aee18a
raw
history blame contribute delete
699 Bytes
name: Sync to Hugging Face hub
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "HarshanaLF"
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
echo "Token is: $HF_TOKEN"
git remote set-url origin https://HarshanaLF:${HF_TOKEN}@huggingface.co/spaces/HarshanaLF/Final_Assignment
git push -f origin main