Uday Chitragar
Update main.yml
86177fd unverified
raw
history blame contribute delete
546 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@v2
with:
fetch-depth: 0
- name: Add remote
env:
HF_TOKEN: ${{ secrets.HG }}
run: |
git remote add space https://ucindia:$HF_TOKEN@huggingface.co/spaces/ucindia/iris_log_reg_model
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HG }}
run: |
git push --force space main