fsal's picture
change token name
0b117b5
raw
history blame
591 Bytes
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