File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124124 - name : Deploy to Hugging Face Space
125125 env :
126126 HF_TOKEN : ${{ secrets.HF_TOKEN }}
127- HF_NAMESPACE : ${{ env.HF_USERNAME }}
127+ HF_NAMESPACE : ${{ github.event.inputs.hf_namespace || env.HF_USERNAME }}
128128 run : |
129129 chmod +x scripts/deploy_to_hf.sh
130130 if [ -n "${{ github.event.inputs.base_image_sha }}" ]; then
@@ -156,7 +156,7 @@ jobs:
156156 - name : Deploy to Hugging Face Space
157157 env :
158158 HF_TOKEN : ${{ secrets.HF_TOKEN }}
159- HF_NAMESPACE : ${{ env.HF_USERNAME }}
159+ HF_NAMESPACE : ${{ github.event.inputs.hf_namespace || env.HF_USERNAME }}
160160 run : |
161161 chmod +x scripts/deploy_to_hf.sh
162162 if [ -n "${{ github.event.inputs.base_image_sha }}" ]; then
You can’t perform that action at this time.
0 commit comments