mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac: dynamically add yaml
This commit is contained in:
parent
c1a97278a8
commit
e3f8ca993d
2 changed files with 13 additions and 9 deletions
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
|
||||
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
|
||||
run: |
|
||||
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) 👋
|
||||
|
||||

|
||||
|
|
|
|||
Loading…
Reference in a new issue