New doc theme (#387)

This commit is contained in:
Phil Scott
2021-04-24 16:20:59 -04:00
committed by GitHub
parent b568098d5e
commit 2a9fbb1ee9
145 changed files with 197984 additions and 8746 deletions

View File

@ -23,13 +23,34 @@ jobs:
with:
dotnet-version: 5.0.202
- 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: Build
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd docs
npm i
dotnet run --configuration Release
npm run build
- name: Archive doc generation
uses: actions/upload-artifact@v2
with:
name: documentation-output
path: docs/output/
retention-days: 5
###################################################
# BUILD
@ -76,7 +97,7 @@ jobs:
run: |
dotnet tool restore
dotnet cake
- name: Upload Verify Test Results
if: failure()
uses: actions/upload-artifact@v2

View File

@ -26,10 +26,25 @@ jobs:
with:
dotnet-version: 5.0.202
- 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 -- deploy
npm i
dotnet run --configuration Release
npm run build
dotnet run -- deploy