Skip to content

Commit

Permalink
fix: render themes on docs deploy
Browse files Browse the repository at this point in the history
resolves #912
  • Loading branch information
JanDeDobbeleer committed Sep 1, 2021
1 parent d8c19d0 commit ea40e82
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/docs.yml
Expand Up @@ -16,7 +16,24 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build And Deploy 🚀
persist-credentials: false
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Build oh-my-posh 🔧
run: |
cd src
go build -o ./bin/oh-my-posh
cd ..
- name: Render themes 🎨
run: |
export PATH="$PWD/src/bin:$PATH"
cd docs
npm install
npm run themes
cd ..
- name: Build Docs And Deploy 🚀
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
Expand Down

0 comments on commit ea40e82

Please sign in to comment.