Spaces:
Sleeping
Sleeping
Caner Giden commited on
Add GitHub Actions workflow for Hugging Face deployment
Browse files123456789101112131415161718192021222324name: Deploy to Hugging Face Space (studio)
on: push: branches: [ main ]
jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repository (full history) uses: actions/checkout@v4 with: fetch-depth: 0
- name: Set git identity run: | git config --global user.name "ForgeFlow CI" git config --global user.email "ci@forgeflow.local"
- name: Push to Hugging Face Space run: | git remote add hf https://forgeflow-ai:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/forgeflow-ai/forgeflow-studio git push hf HEAD:main --force.github/workflows/deploy-to-hf.ymlAdded+24