JacobLinCool's picture
ci: add hf spaces sync
127a90a
raw
history blame contribute delete
531 Bytes
name: Sync to Hugging Face Spaces
on:
push:
branches:
- main
workflow_dispatch:
jobs:
sync-to-spaces:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to HF Spaces
run: git push https://jacoblincool:$HF_TOKEN@huggingface.co/spaces/jacoblincool/captcha-recognizer main
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}