discord-player-play-dl/.github/workflows/docs-deploy.yml
Snowflake107 10bc0d2190 workflow
2021-05-01 13:45:42 +05:45

28 lines
No EOL
576 B
YAML

name: Deployment
on:
push:
branches:
- '*'
- '!docs'
- '!gh-pages'
- '!v5'
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Install Node v14
uses: actions/setup-node@master
with:
node-version: 14
- name: Install dependencies
run: npm install
- name: Build and deploy documentation
uses: discordjs/action-docs@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}