ai-voice-interview / .github /workflows /sync-to-hf-space.yml
Jonathan Jordan
Create sync-to-hf-space.yml
6dad454 unverified
raw
history blame contribute delete
541 Bytes
name: Sync to Hugging Face hub
on:
push:
branches: [main] # or master, depending on your default branch
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true # Needed for large files using Git LFS, which HF uses
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git push https://jonathanjordan21:$HF_TOKEN@huggingface.co/spaces/jonathanjordan21/ai-voice-interview main --force