github-actions[bot]
Sync to HuggingFace Spaces
9bbddc7
raw
history blame
559 Bytes
name: Sync to Hugging Face Spaces
on:
push:
branches:
- main
jobs:
sync:
name: Sync
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
lfs: true
- name: Sync to Hugging Face Spaces
uses: JacobLinCool/huggingface-sync@v1
with:
github: ${{ secrets.GITHUB_TOKEN }}
user: ${{ vars.HF_SPACE_OWNER }}
space: ${{ vars.HF_SPACE_NAME }}
token: ${{ secrets.HF_TOKEN }}
configuration: "README.md.yml"