DM-Agent / .github /workflows /deploy-hf.yml
unknown
refactor: consolidate repo structure, remove upload_to_github duplication
3291500
Raw History Blame Contribute Delete
452 Bytes
name: Deploy to Hugging Face
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hf https://BinbomJared:$HF_TOKEN@huggingface.co/spaces/BinbomJared/DM-Agent
git push hf main --force