imageaudiosync / .github /workflows /deploy-hf.yml
Nanny7's picture
Initial commit: Audio Video Generator v1.0.0
929f41f
Raw
History Blame Contribute Delete
543 Bytes
name: Deploy to Hugging Face Spaces
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git config --global user.email "deploy@github.com"
git config --global user.name "GitHub Actions"
git remote add hf https://$HF_TOKEN@huggingface.co/spaces/YOUR_USERNAME/audio-video-generator
git push hf main