Skip to content

Merge pull request #33 from gutenfries/main #27

Merge pull request #33 from gutenfries/main

Merge pull request #33 from gutenfries/main #27

Workflow file for this run

name: jsdoc-workflow
on:
# Triggers the workflow on push events but only for the main or dev branch
push:
branches: [ main, dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: push
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Set up workspace
uses: actions/checkout@v2
- name: Build documention
uses: andstor/[email protected]
with:
source_dir: ./src
output_dir: ./doc
config_file: jsdoc.json
template: '@alexispuga/jsdoc-template'
front_page: README.md
- name: Auto commit
run: |
git add .
git -c user.name='jsdoc-bot' -c user.email='[email protected]' commit -m "Doc update" || exit 0
git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}