mirror of
https://github.com/pacnpal/markov-discord.git
synced 2025-12-20 11:01:04 -05:00
Update docs for 2.0.0 prep
This commit is contained in:
33
.github/workflows/typedoc.yml
vendored
Normal file
33
.github/workflows/typedoc.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
name: Publish Typedoc to Github Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- Readme.md
|
||||
- src/config/classes.ts
|
||||
- .github/workflows/typedoc.yml
|
||||
- package.json
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node.js for use with actions
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 'lts/*'
|
||||
cache: 'npm'
|
||||
|
||||
- name: NPM install
|
||||
run: npm ci
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Build and lint
|
||||
run: npm run docs
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./docs
|
||||
Reference in New Issue
Block a user