crtal's picture
ci: add ci workflow, deploy workflow, unit tests, and readme badge
f2e0138
Raw History Blame Contribute Delete
474 Bytes
name: Deploy to HF Space
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
lfs: true
- name: Push to HuggingFace Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add space https://crtal:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/crtal/aveslens-model-api
git push space main --force