format #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |