discord-player-play-dl/.github/workflows/jsdoc-deploy.yml
2020-07-23 14:07:43 +02:00

28 lines
601 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/jsdoc-skyceil
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