Skip to content

call username variable in workflow, display model name #10

call username variable in workflow, display model name

call username variable in workflow, display model name #10

Workflow file for this run

name: Sync to Hugging Face hub
on:
push:
branches: [main]
# to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_USER: ${{ variables.HF_USER }}

Check failure on line 19 in .github/workflows/hugging_face.yml

View workflow run for this annotation

GitHub Actions / Sync to Hugging Face hub

Invalid workflow file

The workflow is not valid. .github/workflows/hugging_face.yml (Line: 19, Col: 20): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.HF_USER
run: git push https://$HF_USER:[email protected]/spaces/$HF_USER/docverifyrag main