ariefrahmansyah's picture
Add gradio hello world app; add github actions to sync to hub
b77ca10
raw
history blame contribute delete
No virus
461 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@v2
with:
fetch-depth: 0
- name: Push to Hugging Face hub
env:
HF_USERNAME: ${{ secrets.HF_USERNAME }}
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/patal-dev/april main