Spaces:
Runtime error
Runtime error
daniel Foley
commited on
Commit
·
e0aa2eb
1
Parent(s):
00264eb
First App Commit Concurrent Test
Browse files
.github/workflows/hf_concurrent.yml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Push Production to HuggingFace
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
on:
|
| 6 |
+
|
| 7 |
+
push:
|
| 8 |
+
|
| 9 |
+
branches: [app_dev]
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
# run this workflow manualy from the Actions tab
|
| 14 |
+
|
| 15 |
+
workflow_dispatch:
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
jobs:
|
| 20 |
+
|
| 21 |
+
sync-to-hub:
|
| 22 |
+
|
| 23 |
+
runs-on: ubuntu-latest
|
| 24 |
+
|
| 25 |
+
steps:
|
| 26 |
+
|
| 27 |
+
- uses: actions/checkout@v4
|
| 28 |
+
|
| 29 |
+
with:
|
| 30 |
+
|
| 31 |
+
fetch-depth: 0
|
| 32 |
+
|
| 33 |
+
lfs: true
|
| 34 |
+
|
| 35 |
+
- name: Deploy Production (app_dev) to HuggingFace
|
| 36 |
+
|
| 37 |
+
env:
|
| 38 |
+
|
| 39 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 40 |
+
|
| 41 |
+
run: git push --force https://DF38:$HF_TOKEN@huggingface.co/spaces/ds549/LibRAG
|