diff --git a/.github/workflows/publish-reference.yml b/.github/workflows/publish-reference.yml new file mode 100644 index 0000000..5f96596 --- /dev/null +++ b/.github/workflows/publish-reference.yml @@ -0,0 +1,32 @@ +name: Publish reference + +on: + push: + branches: + - main + +jobs: + publish: + name: Publish reference + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Install dependencies + run: make link-dependencies + + - name: Make + run: make artifacts/docs/typedoc + + - name: Publish reference + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: artifacts/docs/typedoc