0.5.0: remove the deprecated authoring surface — converge on definiti… #20
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: Deploy docs | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 11 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| # Supplies the site's base path: "" while the Pages site serves at a | |
| # domain root (private/internal repos get an obfuscated root domain), | |
| # "/effect-temporal" once the repo is public and the site moves to | |
| # teamspringbird.github.io/effect-temporal/. The VitePress config reads | |
| # DOCS_BASE, so the same workflow works across the visibility change. | |
| - uses: actions/configure-pages@v5 | |
| id: pages | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm run docs:build | |
| env: | |
| DOCS_BASE: ${{ steps.pages.outputs.base_path }}/ | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: docs/.vitepress/dist | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - uses: actions/deploy-pages@v4 | |
| id: deployment |