patrickacraig's picture
adding action
a24c8fd
raw
history blame
449 Bytes
name: Sync to Hugging Face Space
on:
push:
branches: [main]
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add space https://huggingface.co/spaces/patrickacraig/docs-scraper
git push space main