We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efd7d80 commit 29d9216Copy full SHA for 29d9216
.github/workflows/update_space.yml
@@ -18,8 +18,10 @@ jobs:
18
python -m pip install --upgrade pip
19
pip install huggingface_hub
20
- name: Login to Hugging Face
21
+ env:
22
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
23
run: |
- echo ${{ secrets.HF_TOKEN }} | huggingface-cli login
24
+ echo $HF_TOKEN | huggingface-cli login
25
- name: Deploy to Spaces
26
27
# Create space.yml if it doesn't exist
@@ -34,4 +36,4 @@ jobs:
34
36
fi
35
37
# Push to Hugging Face Space
38
huggingface-cli repo create fahmizainal17/Q-Learning_GridWorld_Simulator --type space || true
- huggingface-cli upload fahmizainal17/Q-Learning_GridWorld_Simulator * --repo-type space
39
+ huggingface-cli upload --repo fahmizainal17/Q-Learning_GridWorld_Simulator --repo-type space *
0 commit comments