AILIXIR Bot commited on
Commit ·
9ae92e6
1
Parent(s): ee7a465
Auto-sync: 2929b9a46b7d16cc00f8470bdffaab9bdc44b6c6
Browse files
.github/workflows/sync-ailixir-chat-bot-to-hf.yml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Sync AILIXIR Chat Bot to Hugging Face
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- main
|
| 7 |
+
paths:
|
| 8 |
+
- "ai_apps/chem_agent_api/**"
|
| 9 |
+
- ".github/workflows/sync-ailixir-chat-bot-to-hf.yml"
|
| 10 |
+
|
| 11 |
+
workflow_dispatch:
|
| 12 |
+
|
| 13 |
+
jobs:
|
| 14 |
+
sync-to-huggingface:
|
| 15 |
+
runs-on: ubuntu-latest
|
| 16 |
+
|
| 17 |
+
steps:
|
| 18 |
+
- name: Checkout repository
|
| 19 |
+
uses: actions/checkout@v6
|
| 20 |
+
|
| 21 |
+
- name: Sync chat bot service to Hugging Face Space
|
| 22 |
+
uses: huggingface/hub-sync@v0.1.0
|
| 23 |
+
with:
|
| 24 |
+
github_repo_id: ${{ github.repository }}
|
| 25 |
+
huggingface_repo_id: shdwRow/ailixir-chat-bot
|
| 26 |
+
repo_type: space
|
| 27 |
+
space_sdk: docker
|
| 28 |
+
subdirectory: ai_apps/chem_agent_api
|
| 29 |
+
hf_token: ${{ secrets.HF_TOKEN }}
|