docs: render themes correctly

This commit is contained in:
Jan De Dobbeleer 2021-04-11 10:56:34 +02:00
parent afb69b4229
commit 219867eaa6
2 changed files with 5 additions and 2 deletions

View file

@ -17,13 +17,14 @@ jobs:
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.16 go-version: 1.16
- name: Build - name: Build oh-my-posh 🎨
run: | run: |
cd src cd src
go build -o docs/oh-my-posh go build -o ./bin/oh-my-posh
cd .. cd ..
- name: Install and Build 🔧 - name: Install and Build 🔧
run: | run: |
export PATH="$PWD/src/bin:$PATH"
cd docs cd docs
npm install npm install
npm run themes npm run themes

View file

@ -19,3 +19,5 @@ Themes with `minimal` in their names do not require a Nerd Font. Read about [
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes [themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[fonts]: /docs/fonts [fonts]: /docs/fonts
[replace-you-existing-prompt]: /docs/installation#3-replace-your-existing-prompt [replace-you-existing-prompt]: /docs/installation#3-replace-your-existing-prompt
<!-- Do not change the content below, themes are rendered automatically -->