fix(docs): added missing examples sidebar config #9
This file contains hidden or 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: Publish DevPortal Docs | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ci/add-publish-to-devportal-workflow] # change to decoupling, then main when ready | |
| tags: ['v*'] | |
| permissions: | |
| contents: write | |
| jobs: | |
| publish-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - uses: pnpm/action-setup@v4 # remove version when root migrates to pnpm | |
| with: | |
| version: 10 | |
| - name: Install root dependencies | |
| run: npm ci | |
| - name: Build package | |
| run: npm run build | |
| - name: Publish DevPortal Docs | |
| uses: algorandfoundation/devportal/.github/actions/publish-devportal-docs@ci/update-publish-devportal-docs-workflow | |
| with: | |
| docs-dir: docs |