File size: 592 Bytes
a21572b
 
 
1db62d8
 
 
 
 
a21572b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.WORKFLOW_GIT_ACCESS_TOKEN }}

    - name: Push to HuggingFace Space
      env:
        HF_TOKEN: ${{ secrets.HF_TOKEN }}
      run: |
        git push https://joshuasundance:[email protected]/spaces/joshuasundance/langchain-streamlit-demo main