Spaces:
Running
Running
Commit ·
dfcc2fe
1
Parent(s): bdf376b
Moved code to root & added HF sync workflow
Browse filesFiles changed (2)
- .github/workflows/sync_to_hf_space.ymlAdded+21
- .gitignore+1-1
123456789101112131415161718192021name: Sync to Hugging Face Spaceon: push: branches: [main] # Enables you 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 }} run: | # Make sure to replace "SnippyCodes/Libratio" with your actual HF Space ID if it's different! git push -f https://SnippyCodes:$HF_TOKEN@huggingface.co/spaces/SnippyCodes/Libratio main35 unmodified lines36373839404135 unmodified lines*.log*.tmp*.bak# --- Safe to commit ---# .env.example ← intentionally NOT ignored (it's the safe template)35 unmodified lines36373839404135 unmodified lines*.log*.tmp*.bakUntitled-2026-04-02-2056# --- Safe to commit ---# .env.example ← intentionally NOT ignored (it's the safe template)
.github/workflows/sync_to_hf_space.ymlAdded+21
.gitignore+1-1