Skip to content

Try and fix docker

Try and fix docker #6

Workflow file for this run

name: Build JSDoc documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
jsdoc:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build
uses: andstor/jsdoc-action@v1
with:
source_dir: ./project/src
recurse: true
output_dir: ./docs
- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Commit and Push Changes
run: |
git add ./docs
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
git commit -m "[action] JSDoc documentation generated on $TIMESTAMP"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}