Create sync_with_hf.yml
Browse files
.github/workflows/sync_with_hf.yml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- name: Sync With Hugging Face Space
|
| 2 |
+
uses: alex-bene/[email protected]
|
| 3 |
+
with:
|
| 4 |
+
# The GitHub repository ID (e.g., user/repo)
|
| 5 |
+
github_repo_id: "Chemically-motivated/OSINT_Tool"
|
| 6 |
+
|
| 7 |
+
# The GitHub branch to sync with Hugging Face Space (optional, default is 'main')
|
| 8 |
+
github_branch: "main" # Adjust if you're using a different branch
|
| 9 |
+
|
| 10 |
+
# Path to the YAML header file if it's located in a subdirectory (optional)
|
| 11 |
+
yaml_header_path: ".github/workflows/config.yml" # Set this if you have a config file
|
| 12 |
+
|
| 13 |
+
# The Hugging Face Space repository ID (e.g., user/space-name)
|
| 14 |
+
huggingface_repo_id: "Chemically-motivated/OSINT_Tool"
|
| 15 |
+
|
| 16 |
+
# Your Hugging Face username
|
| 17 |
+
hf_username: "canstralian"
|
| 18 |
+
|
| 19 |
+
# Your Hugging Face token (set this as a secret in GitHub Actions for security)
|
| 20 |
+
hf_token: ${{ secrets.HF_TOKEN }} # Store your token securely in GitHub Secrets
|