Update Index Release #109
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: Update Index Release | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Fetch from huggingface | |
run: | | |
python sync-model.py | |
- name: update the release index.json | |
run: | | |
gh release upload index_release index.json --clobber | |
env: | |
GH_TOKEN: ${{ secrets.UPDATE_TOKEN }} |