👷 Fix github workflows
This commit is contained in:
parent
2f01dc96c2
commit
c009ed27f3
3 changed files with 1 additions and 29 deletions
28
.github/workflows/jsdoc-deploy.yml
vendored
28
.github/workflows/jsdoc-deploy.yml
vendored
|
@ -1,28 +0,0 @@
|
||||||
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
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "discord-player",
|
"name": "discord-player",
|
||||||
"version": "4.0.0",
|
"version": "4.0.0-dev",
|
||||||
"description": "Complete framework to facilitate music commands using discord.js",
|
"description": "Complete framework to facilitate music commands using discord.js",
|
||||||
"main": "lib/src/index.js",
|
"main": "lib/src/index.js",
|
||||||
"types": "lib/src/index.d.ts",
|
"types": "lib/src/index.d.ts",
|
||||||
|
|
Loading…
Reference in a new issue