Spaces:
Sleeping
Sleeping
Commit
·
c0c2d40
1
Parent(s):
450a421
adding deployment file
Browse files
.github/workflows/deploy_to_hf.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Deploy to Hugging Face Space
|
| 2 |
+
on:
|
| 3 |
+
push:
|
| 4 |
+
branches:
|
| 5 |
+
- main
|
| 6 |
+
jobs:
|
| 7 |
+
deploy:
|
| 8 |
+
runs-on: ubuntu-latest
|
| 9 |
+
steps:
|
| 10 |
+
- uses: actions/checkout@v3
|
| 11 |
+
- name: Push to Hugging Face Space
|
| 12 |
+
uses: huggingface/hub-action@v1
|
| 13 |
+
with:
|
| 14 |
+
repo-token: ${{ secrets.HF_TOKEN }}
|
| 15 |
+
repo-id: Mostafa174/Topic_Modeling_AI
|
| 16 |
+
repo-type: space
|