Spaces:
Sleeping
Sleeping
Caner Giden commited on
Add GitHub Actions workflow for Hugging Face deployment
Browse files1234567891011121314151617181920212223242526name: Deploy to Hugging Face Space (backend)
on: push: branches: [ main ]
jobs: deploy: runs-on: ubuntu-latest
steps: - name: Checkout repository uses: actions/checkout@v4
- name: Set git identity run: | git config --global user.name "FlowMind CI" git config --global user.email "ci@flowmind.local"
- name: Push to Hugging Face Space run: | # Hugging Face Space remote'unu ekle git remote add hf https://Caner7:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/flowmind-ai/flowmind-core-api
# main branch'i HF Space'e force push et git push hf HEAD:main --force.github/workflows/deploy-to-hf.ymlAdded+26