Kushal14680
Add GitHub Actions workflow for Hugging Face deployment
9d8ab02 unverified
Raw
History Blame Contribute Delete
531 Bytes
name: Sync to Hugging Face Hub
on:
push:
branches: [main]
# Allow manual trigger from the Actions tab
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git push --force https://spoodermon:$HF_TOKEN@huggingface.co/spaces/spoodermon/gmail-agentic main