refactor: encapsulate catalog metadata in SkyModel, add network check… #18
This file contains hidden or 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 Space | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| sync-to-hf: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push huggingface_space/ to HF Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| cd huggingface_space/ | |
| git init -b main | |
| git config user.email "[email protected]" | |
| git config user.name "Kartik Mandar" | |
| git add . | |
| git commit -m "Sync from GitHub $(date -u +%Y-%m-%dT%H:%M:%SZ)" | |
| git push --force https://kartikmandar:[email protected]/spaces/kartikmandar/RRIVis main |