diff --git a/.github/workflows/arch-docs.yml b/.github/workflows/arch-docs.yml new file mode 100644 index 0000000000..8cd531a7b5 --- /dev/null +++ b/.github/workflows/arch-docs.yml @@ -0,0 +1,39 @@ +name: Architecture Docs + +on: + push: + branches: [main, master] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: true + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deploy.outputs.page_url }} + steps: + - uses: actions/checkout@v4 + + - uses: supermodeltools/arch-docs@main + id: docs + with: + supermodel-api-key: ${{ secrets.SUPERMODEL_API_KEY }} + base-url: https://repos.supermodeltools.com/gin + + - uses: actions/configure-pages@v5 + + - uses: actions/upload-pages-artifact@v3 + with: + path: ./arch-docs-output + + - uses: actions/deploy-pages@v4 + id: deploy \ No newline at end of file