refac: dynamically add yaml

This commit is contained in:
Timothy J. Baek 2024-05-21 12:59:53 -07:00
parent c1a97278a8
commit e3f8ca993d
2 changed files with 13 additions and 9 deletions

View File

@ -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"

View File

@ -1,12 +1,3 @@
---
title: Open WebUI
emoji: 🐳
colorFrom: purple
colorTo: gray
sdk: docker
app_port: 8080
---
# Open WebUI (Formerly Ollama WebUI) 👋
![GitHub stars](https://img.shields.io/github/stars/open-webui/open-webui?style=social)