mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-25 18:11:24 -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
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue