Demo / .github /workflows /deploy-to-hf.yml
HanLee's picture
feat: upgrade to streamlit, lcel, langsmith, and huggingface deployment
1855ec1
raw
history blame contribute delete
442 Bytes
name: Deploy to HuggingFace Spaces
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to HuggingFace Spaces
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git push https://HF_USERNAME:[email protected]/spaces/HF_USERNAME/SPACE_NAME main