Add getCurrentSchoolyear() #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ensure documentation is up-to-date | |
on: [push, pull_request] | |
concurrency: ci-${{ github.ref }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- run: git pull --rebase | |
- name: Install node_modules | |
run: yarn | |
- name: Generate docs | |
run: yarn generate-doc | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
with: | |
author_name: high5-bot | |
author_email: [email protected] | |
message: 'docs: update documentation' | |
add: '.' | |
push: true |