Skip to content

use different github action provider #6

use different github action provider

use different github action provider #6

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [ master ]
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install JSDoc (if not globally installed)
run: npm install -g jsdoc
- name: Generate Documentation
run: jsdoc -c jsdoc.config.json
- name: Upload Documentation Artifact
uses: actions/upload-artifact@v3
with:
name: docs
path: ./docs
- name: Deploy to GitHub Pages (optional)
uses: peaceiris/[email protected]
if: ${{ github.ref == 'refs/heads/master' }}
with:
ACTIONS_DEPLOY_KEY: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./docs