Skip to content

Return ID and full path of uploaded file (#168) #75

Return ID and full path of uploaded file (#168)

Return ID and full path of uploaded file (#168) #75

Workflow file for this run

name: Docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docs:
name: Publish docs / OS ${{ matrix.os }} / Node ${{ matrix.node }}
strategy:
matrix:
os: [ubuntu-latest]
node: ['18']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: |
npm ci
npm run docs
npm run docs:json
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
force_orphan: true
commit_message: 'docs: update'