Skip to content

change deplyment branch #35

change deplyment branch

change deplyment branch #35

Workflow file for this run

name: Sync to Hugging Face hub-learning
on:
push:
branches: [learning_agent]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
- name: Push learning_agent branch to HuggingFace main
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hfa https://ImashaNawodi:[email protected]/spaces/ImashaNawodi/learning_Agent
# Force push GitHub's learning_agent → HuggingFace main
git push hfa Production:main --force