discord-player-play-dl/.github/workflows/docs-deploy.yml
DevAndromeda 1abb5e8ba8 🎵 Discord.js v14
2022-07-19 19:43:01 +05:45

29 lines
585 B
YAML

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