fix: render themes on docs deploy

resolves #912
This commit is contained in:
Jan De Dobbeleer 2021-09-01 12:51:38 +02:00 committed by Jan De Dobbeleer
parent d8c19d0c6d
commit ea40e82a39

View file

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