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