discord-player-play-dl/.github/workflows/docs-deploy.yml

30 lines
585 B
YAML
Raw Permalink Normal View History

2021-04-21 10:14:21 +05:00
name: Deployment
on:
push:
branches:
- '*'
- '!docs'
- '!gh-pages'
2021-06-28 12:11:30 +05:00
tags:
- '*'
2021-04-21 10:14:21 +05:00
jobs:
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
2022-07-19 18:58:01 +05:00
- name: Install Node v18
2021-04-21 10:14:21 +05:00
uses: actions/setup-node@master
with:
2022-07-19 18:58:01 +05:00
node-version: 18
2021-04-21 10:14:21 +05:00
- name: Install dependencies
run: npm install
- name: Build and deploy documentation
uses: discordjs/action-docs@v1
env:
2021-06-20 19:23:12 +05:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}