FJFehr's picture
chore: add HF sync workflow and restore requirements.txt
ac29ae5
raw
history blame contribute delete
485 Bytes
name: Sync to Hugging Face Spaces
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
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://FJFehr:$HF_TOKEN@huggingface.co/spaces/FJFehr/virtual_keyboard
git push hf main --force