name: CD Pipeline on: push: branches: [main] workflow_dispatch: jobs: deploy: name: Deploy to Hugging Face runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Push to Hugging Face env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git remote add hf https://zawar2121:$HF_TOKEN@huggingface.co/spaces/zawar2121/netsol-chatbot git push -f hf main