use docker-compose up with the --build and --detach flags to rebuild … #64
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: Sync to Hugging Face Spaces | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync: | |
name: Sync | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Sync to Hugging Face Spaces | |
uses: JacobLinCool/huggingface-sync@v1 | |
with: | |
github: ${{ secrets.GITHUB_TOKEN }} | |
user: ${{ vars.HF_SPACE_OWNER }} | |
space: ${{ vars.HF_SPACE_NAME }} | |
token: ${{ secrets.HF_TOKEN }} | |
configuration: "hf-space-config.yml" |