Disable GH Action workflow for docs

This commit is contained in:
Patrik Svensson
2021-09-23 22:58:39 +02:00
committed by Patrik Svensson
parent 8cfe06e77a
commit b058c54f3c
3 changed files with 4 additions and 1 deletions

50
.github/workflows/docs.yaml.disabled vendored Normal file
View File

@ -0,0 +1,50 @@
name: Deploy Documentation
on:
workflow_dispatch:
push:
paths:
- 'docs/**'
- 'src/**'
jobs:
###################################################
# DOCS
###################################################
build:
name: Deploy
if: false # Disable for now
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
include-prerelease: true
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
- name: Publish
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd docs
dotnet run --configuration Release
dotnet run -- deploy