Skip to content

version patch in readme #31

version patch in readme

version patch in readme #31

Workflow file for this run

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get package version
id: get_version
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
- name: Build docs
uses: andstor/jsdoc-action@v1
with:
recurse: true
config_file: jsdoc.conf.json
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/jsjiit/${{ steps.get_version.outputs.version }}