mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
refac: dynamically add yaml
This commit is contained in:
parent
c1a97278a8
commit
e3f8ca993d
13
.github/workflows/deploy-to-hf-spaces.yml
vendored
13
.github/workflows/deploy-to-hf-spaces.yml
vendored
@ -32,6 +32,19 @@ jobs:
|
|||||||
- name: Remove git history
|
- name: Remove git history
|
||||||
run: rm -rf .git
|
run: rm -rf .git
|
||||||
|
|
||||||
|
- name: Prepend YAML front matter to README.md
|
||||||
|
run: |
|
||||||
|
echo "---" > temp_readme.md
|
||||||
|
echo "title: Open WebUI" >> temp_readme.md
|
||||||
|
echo "emoji: 🐳" >> temp_readme.md
|
||||||
|
echo "colorFrom: purple" >> temp_readme.md
|
||||||
|
echo "colorTo: gray" >> temp_readme.md
|
||||||
|
echo "sdk: docker" >> temp_readme.md
|
||||||
|
echo "app_port: 8080" >> temp_readme.md
|
||||||
|
echo "---" >> temp_readme.md
|
||||||
|
cat README.md >> temp_readme.md
|
||||||
|
mv temp_readme.md README.md
|
||||||
|
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
@ -1,12 +1,3 @@
|
|||||||
---
|
|
||||||
title: Open WebUI
|
|
||||||
emoji: 🐳
|
|
||||||
colorFrom: purple
|
|
||||||
colorTo: gray
|
|
||||||
sdk: docker
|
|
||||||
app_port: 8080
|
|
||||||
---
|
|
||||||
|
|
||||||
# Open WebUI (Formerly Ollama WebUI) 👋
|
# Open WebUI (Formerly Ollama WebUI) 👋
|
||||||
|
|
||||||
![GitHub stars](https://img.shields.io/github/stars/open-webui/open-webui?style=social)
|
![GitHub stars](https://img.shields.io/github/stars/open-webui/open-webui?style=social)
|
||||||
|
Loading…
Reference in New Issue
Block a user