Skip to content

v2.0.3

v2.0.3 #8

Workflow file for this run

# This workflow will install the dependencies and then build and deploy the
# TypeScript documentation website to the docs branch.
# This file is auto-synced from product-os/jellyfish-config/sync/.github/workflows/publish-docs.yml
# and should only be edited there!
name: Publish Documentation
on:
push:
tags:
- "*"
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
with:
persist-credentials: false
- name: Setup node
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2
with:
node-version: "14"
- name: Install NPM dependencies
run: npm i
- name: Generate docs
run: npm run doc
- name: Publish generated docs to GitHub Pages
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
publish_branch: docs