Skip to content
name: Sync With Hugging Face Hub
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Cache
uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/.gitignore') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Sync With Hugging Face Hub
uses: nateraw/[email protected]
with:
github_repo_id: "MH0386/napoleon_dataset"
huggingface_repo_id: "MH0386/napoleon_bonaparte"
hf_token: ${{ secrets.HF_TOKEN }}
repo_type: "dataset"