Fix dangerous URL composition rule. (#139) #4
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: website | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'src/**' | |
- 'website/**' | |
- 'package.json' | |
jobs: | |
website: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: npm install | |
- name: Build TypeDoc | |
run: npm run typedoc && npm run typedoc -- --json website/public/api/openapi.json | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./website/public |