# Generated by smthrs from //.github:github. Do not edit; run: smthrs //.github:github --write name: docs-publish on: push: branches: - main workflow_dispatch: concurrency: group: "docs-publish-${{ github.ref }}" cancel-in-progress: false permissions: contents: read id-token: write jobs: docs-publish: runs-on: ubuntu-latest environment: docs-deploy steps: - uses: actions/checkout@v5 with: fetch-depth: "0" - name: Checkout pinned native sources run: node scripts/factory/checkout-native.mjs - uses: "./.github/actions/setup" - name: Verify llms.txt index run: node scripts/factory/generate-llms-txt.mjs - name: Build Node documentation run: pnpm --filter @tevm/node-docs build:app - name: Build and check Factory Portal run: pnpm exec smthrs target //sites/contributor:check - name: Publish verified documentation bundles run: node scripts/factory/publish-docs.mjs env: VERCEL_TOKEN: "${{ secrets.VERCEL_TOKEN }}" VERCEL_ORG_ID: "${{ secrets.VERCEL_ORG_ID }}" VERCEL_PROJECT_ID: "${{ secrets.VERCEL_PROJECT_ID }}" CLOUDFLARE_API_TOKEN: "${{ secrets.CLOUDFLARE_API_TOKEN }}" CLOUDFLARE_ACCOUNT_ID: "${{ secrets.CLOUDFLARE_ACCOUNT_ID }}" CF_PAGES_FACTORY_PROJECT: "${{ vars.CF_PAGES_FACTORY_PROJECT }}"