File size: 591 Bytes
c8ebe28 0b117b5 c8ebe28 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
name: Push to HuggingFace Space
on:
workflow_run:
workflows: ["Update AI Changelog on Push to Main"]
branches: [main]
types:
- completed
workflow_dispatch:
jobs:
push-to-huggingface:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Push to HuggingFace Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git push https://contentwise:$HF_TOKEN@huggingface.co/spaces/contentwise/langchain-streamlit-demo main
|