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

29 lines
601 B
YAML
Raw Normal View History

2020-04-24 20:30:30 +05:00
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
2020-04-24 20:30:30 +05:00
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