From 2126249246a75437cd1b8ab516170d5251c30a8b Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Wed, 19 Aug 2026 10:56:13 -0400 Subject: [PATCH] ci(docs): add GitHub Actions workflow for docs deployment --- .github/workflows/deploy.yml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8d934fd --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,44 @@ +name: Deploy Docs + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: pages + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 # Blume requires 22.12+ + + - uses: oven-sh/setup-bun@v2 # skip if you use npm/pnpm + + - run: bun install --frozen-lockfile + - run: bun run build + + - uses: actions/upload-pages-artifact@v3 + with: + path: dist + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - id: deployment + uses: actions/deploy-pages@v4