discord-player-play-dl/.github/workflows/jsdoc-deploy.yml
2020-07-04 15:11:50 +02:00

28 lines
594 B
YAML

name: GitHub pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build
uses: andstor/jsdoc-action@v1
with:
output_dir: ./docs
config_file: .jsdoc.json
template: Androz2091/minami
front_page: README.md
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs
cname: discord-player.js.org