Skip to content

Update from https://github.com/RunOnFlux/flux/commit/c16688263db11b02… #2257

Update from https://github.com/RunOnFlux/flux/commit/c16688263db11b02…

Update from https://github.com/RunOnFlux/flux/commit/c16688263db11b02… #2257

Workflow file for this run

name: BuildJSDocs
on:
push:
paths-ignore:
- '**/docs/**'
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
uses: andstor/jsdoc-action@v1
with:
source_dir: ./services # The folder holding the source files imported from RunOnFlux/flux.
recurse: true # Recurse into subdirectories (now that daemon service files are separate) when scanning for source files.
output_dir: ./JSDocsBuild # The temp folder the action should build files in.
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: master # The branch the action should deploy to.
folder: ./JSDocsBuild # The temp folder the action should deploy files from.
target-folder: ./docs # The folder the action should deploy to.
token: ${{ secrets.ACTIONS_TOKEN_GITHUB }}