Support docker build with gradio #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HuggingFace Space Sync | |
on: | |
push: | |
branches: | |
- 'master' | |
workflow_dispatch: | |
jobs: | |
push-hf-space: | |
name: Push source code to HuggingFace | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sync to HuggingFace | |
uses: nateraw/[email protected] | |
with: | |
github_repo_id: 'xiaoyao9184/docker-tabled' | |
huggingface_repo_id: '${{ secrets.HF_USERNAME }}/tabled' | |
hf_token: ${{ secrets.HF_TOKEN }} | |
repo_type: 'space' | |
private: false | |
space_sdk: 'gradio' | |
subdirectory: 'gradio' |