model-forensics / .github /workflows /deploy-hf.yml
Thiago Hersan
add zero gpu
40a1094
Raw History Blame Contribute Delete
701 Bytes
name: Deploy to Hugging Face spaces
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Dev Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to HF
env:
HFTOKEN_DV: ${{ secrets.HFTOKEN_DV }}
HFTOKEN_TH: ${{ secrets.HFTOKEN_TH }}
run: |
git remote add hfdv https://thiagohersan:$HFTOKEN_DV@huggingface.co/spaces/visualizedata/PUIL-3300-gradio
git remote add hfth https://thiagohersan:$HFTOKEN_TH@huggingface.co/spaces/thiagohersan/model-forensics
git push -f hfdv main
git push -f hfth main