Skip to content

Update release-package.yml #11

Update release-package.yml

Update release-package.yml #11

name: create documentation and puplish to github pages
on:
push:
branches: [ "develop" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: yarn install
- name: Build
uses: andstor/jsdoc-action@v1
with:
config_file: ./jsdoc.conf.json
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4