Skip to content

jsdocs master

jsdocs master #143

Workflow file for this run

name: jsdocs master
on:
workflow_dispatch:
schedule:
- cron: '0 3 * * *'
env:
JDOC_APP_ID: "131e893c-eac4-4713-917b-a49fdd10c1c8"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: checkout cables
uses: actions/checkout@v4
with:
repository: "cables-gl/cables"
ref: master
token: ${{ secrets.undev_token }}
path: "cables/"
- name: checkout cables ui
uses: actions/checkout@v4
with:
repository: "cables-gl/cables_ui"
ref: master
token: ${{ secrets.undev_token }}
path: "cables_ui/"
- name: checkout cables electron
uses: actions/checkout@v4
with:
repository: "cables-gl/cables_electron"
path: "cables_electron/"
ref: master
- name: build jsdoc
run: |
cd jsdoc/
npm install --no-save
npm run build
- name: Deploy jsdocs to netlify
uses: netlify/actions/cli@master
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ env.JDOC_APP_ID }}
with:
args: deploy --dir=jsdoc/dist --prod
secrets: '["NETLIFY_AUTH_TOKEN", "NETLIFY_SITE_ID"]'