Missing JSON Schema properties for Permission Scopes (#781) #374
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: Documentation generator | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repository | |
uses: actions/checkout@v4 | |
- name: setup node.js | |
uses: actions/setup-node@v4 | |
- name: install dependencies | |
run: | | |
npm clean-install | |
npm i -d @types/node | |
- run: npm run build | |
- name: build typedoc site | |
run: | | |
npx typedoc | |
- name: make git repo to push to github actions | |
run: | | |
cd documentation | |
git init | |
git add -A | |
git config user.name 'GitHub Actions' | |
git config user.email 'actions@github.com' | |
git commit -sam "$(date -Iseconds)" | |
touch .nojekyll | |
- name: push documentation files to docs branch | |
uses: ad-m/github-push-action@v0.6.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
force: true | |
directory: documentation |