ctp-slack-bot / .github /workflows /hugging-face-hub-sync.yml
LiKenun's picture
Make GitHub changes override any in Hugging Face Hub
5844ef9
raw
history blame contribute delete
491 Bytes
name: Hugging Face Hub Sync
on:
push:
branches: [alt]
# 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 Hugging Face Hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push -f https://KingZack:[email protected]/spaces/KingZack/ctp-slack-bot alt:main