ashandilgith's picture
cloud version
469f89c
raw
history blame contribute delete
587 Bytes
name: Sync to Hugging Face Hub
on:
push:
branches: [main]
# Allows 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 }}
# The target is your specific space URL with the token injected
run: git push --force https://ashandilgith:$HF_TOKEN@huggingface.co/spaces/ashandilgith/piranaware_version3 main