Skip to content

Commit

Permalink
💎 [Feature] Github Actions to sync repo to huggingface space
Browse files Browse the repository at this point in the history
  • Loading branch information
Hansimov committed Dec 7, 2023
1 parent 68ceef4 commit 6477834
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/sync_to_hf_space.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push -f https://Hansimov:[email protected]/spaces/Hansimov/bing-chat-api main

0 comments on commit 6477834

Please sign in to comment.