mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-02 05:41:10 -08:00
parent
d8c19d0c6d
commit
ea40e82a39
19
.github/workflows/docs.yml
vendored
19
.github/workflows/docs.yml
vendored
|
@ -16,7 +16,24 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
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
|
id: builddeploy
|
||||||
uses: Azure/static-web-apps-deploy@v1
|
uses: Azure/static-web-apps-deploy@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue