You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
654 B
35 lines
654 B
name: Builds
|
|
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'docs'
|
|
tags:
|
|
- '*'
|
|
paths-ignore:
|
|
- 'typings/**'
|
|
workflow_dispatch:
|
|
|
|
permissions: write-all
|
|
|
|
jobs:
|
|
docs:
|
|
name: Build Documentation
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Node v16
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build and deploy documentation
|
|
uses: discordjs/action-docs@v1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|