Spaces:
Sleeping
Sleeping
gordonchanfz
commited on
Update deploy.yml
Browse files
.github/workflows/deploy.yml
CHANGED
@@ -14,10 +14,14 @@ jobs:
|
|
14 |
|
15 |
- name: Set environment variables
|
16 |
run: |
|
17 |
-
if [ "${{ github.event.inputs.monitor_id }}" = "
|
18 |
export HF_TOKEN="${{ secrets.HF_1 }}"
|
19 |
export USERNAME="GordonChan365"
|
20 |
-
export SPACE="
|
|
|
|
|
|
|
|
|
21 |
elif [ "${{ github.event.inputs.monitor_id }}" = "2" ]; then
|
22 |
export HF_TOKEN="${{ secrets.HF_2 }}"
|
23 |
export USERNAME="gordonchan"
|
|
|
14 |
|
15 |
- name: Set environment variables
|
16 |
run: |
|
17 |
+
if [ "${{ github.event.inputs.monitor_id }}" = "13" ]; then
|
18 |
export HF_TOKEN="${{ secrets.HF_1 }}"
|
19 |
export USERNAME="GordonChan365"
|
20 |
+
export SPACE="bot-example"
|
21 |
+
elif [ "${{ github.event.inputs.monitor_id }}" = "21" ]; then
|
22 |
+
export HF_TOKEN="${{ secrets.HF_1 }}"
|
23 |
+
export USERNAME="GordonChan365"
|
24 |
+
export SPACE="hf-llm-api"
|
25 |
elif [ "${{ github.event.inputs.monitor_id }}" = "2" ]; then
|
26 |
export HF_TOKEN="${{ secrets.HF_2 }}"
|
27 |
export USERNAME="gordonchan"
|