ai / .github /workflows /push2hf.yml
dn-scribe's picture
fix: sync hf only manually
c4a3203 unverified
Raw History Blame Contribute Delete
444 Bytes
name: Sync to Hugging Face Space
on:
# push:
# branches: [main]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to Space
env:
HF_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }}
run: |
git push https://dn-scrib:$HF_TOKEN@huggingface.co/spaces/dn-scribe/ai main --force