chat + summarizer #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Hugging Face Spaces | |
on: | |
push: | |
branches: | |
- main # Change this to the branch you want to trigger the deployment | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Git LFS | |
run: | | |
sudo apt-get update | |
sudo apt-get install git-lfs | |
git lfs install | |
- name: Push to Hugging Face Spaces | |
env: | |
HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "shayanshafquat" | |
git remote add hf https://huggingface.co/spaces/neuralnavigators/RAG | |
git push hf main --force |