Skip to content

Commit 4b2e8a3

Browse files
committed
Fix: Use Token_Hggnface environment with secrets
1 parent cfd4eee commit 4b2e8a3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
deploy:
1414
runs-on: ubuntu-latest
1515
environment:
16-
name: github-pages
16+
name: Token_Hggnface
1717
url: ${{ steps.deployment.outputs.page_url }}
1818
steps:
1919
- uses: actions/checkout@v4
@@ -22,6 +22,7 @@ jobs:
2222
env:
2323
HF_TOKEN: ${{ secrets.TOKEN_HUGGINGFCE }}
2424
run: |
25+
echo "Token length: ${#HF_TOKEN}"
2526
sed -i 's/HF_TOKEN_PLACEHOLDER/'"$HF_TOKEN"'/g' script.js
2627
2728
- name: Upload artifact

0 commit comments

Comments
 (0)