Skip to content

Fix: Hugging Face metadata #6

Fix: Hugging Face metadata

Fix: Hugging Face metadata #6

Workflow file for this run

name: Sync to Hugging Face hub
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Set Git user
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Push to Hugging Face Hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add space https://Carmoruda:$HF_TOKEN@huggingface.co/spaces/Carmoruda/ReadAloud
git push --force space main