mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
Update workflow for publishing docs (skip-ci)
This commit is contained in:
parent
3210afb698
commit
3a432b11c8
19
.github/workflows/docs.yaml
vendored
19
.github/workflows/docs.yaml
vendored
@ -1,17 +1,24 @@
|
|||||||
name: Deploy Site
|
name: Deploy Documentation
|
||||||
on:
|
on:
|
||||||
workflow_dispatch
|
workflow_dispatch
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Deploy
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- name: Checkout
|
||||||
- uses: actions/setup-dotnet@v1
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Setup dotnet
|
||||||
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: '3.1.301' # SDK Version to use.
|
dotnet-version: '3.1.301' # SDK Version to use.
|
||||||
- run: |
|
|
||||||
cd docs
|
- name: Publish
|
||||||
dotnet run -- deploy
|
shell: bash
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
cd docs
|
||||||
|
dotnet run -- deploy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user