From 77fb72fa45bd43c505e3b42ba25aebf5c2d7fb85 Mon Sep 17 00:00:00 2001 From: Petr Plenkov Date: Wed, 12 Aug 2026 00:52:36 +0200 Subject: [PATCH 1/3] feat: add pre-alpha disclaimers and Cloudflare Pages deploy workflow - README.md: pre-alpha warning banner (APIs may change, not production-ready) - website Base.astro: amber pre-alpha banner on all 4 pages - website global.css: banner styling (dark amber theme) - .github/workflows/deploy-website.yml: Cloudflare Pages deployment via wrangler-action@v4, triggers on push to main (website/** path filter) and manual workflow_dispatch Requires repo secrets: CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/deploy-website.yml | 36 ++++++++++++++++++++++++++++ README.md | 3 +++ website/src/layouts/Base.astro | 3 +++ website/src/styles/global.css | 10 ++++++++ 4 files changed, 52 insertions(+) create mode 100644 .github/workflows/deploy-website.yml diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml new file mode 100644 index 000000000..523236373 --- /dev/null +++ b/.github/workflows/deploy-website.yml @@ -0,0 +1,36 @@ +name: Deploy website + +on: + push: + branches: [main] + paths: + - "website/**" + - ".github/workflows/deploy-website.yml" + workflow_dispatch: + +permissions: + contents: read + deployments: write + +jobs: + deploy: + runs-on: ubuntu-latest + name: Deploy to Cloudflare Pages + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v2 + + - name: Install and build + working-directory: website + run: | + bun install --frozen-lockfile + bun run build + + - name: Deploy to Cloudflare Pages + uses: cloudflare/wrangler-action@v4 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + command: pages deploy website/dist --project-name=sverka + gitHubToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index ea14631a6..cd92a8d83 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ A composable workflow SDK, local CI runtime, and multi-target compiler for software verification. +> **⚠️ Pre-alpha — Work in progress.** Sverka is under active development. +> APIs may change without notice. Not ready for production use. + [Website](https://sverka.dev) · [Documentation](https://sverka.dev/docs) · [CLI Reference](https://sverka.dev/docs/cli) diff --git a/website/src/layouts/Base.astro b/website/src/layouts/Base.astro index b1e58d9a7..8a767803b 100644 --- a/website/src/layouts/Base.astro +++ b/website/src/layouts/Base.astro @@ -35,6 +35,9 @@ const { +
+ ⚠️ Pre-alpha — Work in progress. APIs may change. Not ready for production use. +