diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml new file mode 100644 index 0000000..77e0a3e --- /dev/null +++ b/.github/workflows/doc.yml @@ -0,0 +1,26 @@ +name: Typedoc build and deploy doc to GH pages +on: + push: + branches: ["doc-test"] + + workflow_dispatch: + + +permissions: + contents: write +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install and Build + run: | + npm ci + npm run doc + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: dist/doc \ No newline at end of file