job-chat / .github /workflows /sync_to_hub.yaml
codegood's picture
hf force push
415efb7
Raw History Blame Contribute Delete
402 Bytes
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
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://codegood:$HF_TOKEN@huggingface.co/spaces/codegood/job-chat main