From 3d5fc7ae10abaf28a70290bd254c762c12902114 Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Tue, 10 Mar 2026 18:42:08 -0700 Subject: [PATCH] Feat: add web build workflow on push --- .github/workflows/build-web.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build-web.yml diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml new file mode 100644 index 0000000..4f3f37e --- /dev/null +++ b/.github/workflows/build-web.yml @@ -0,0 +1,26 @@ +name: Build Web +on: + push: +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - run: bun install + + - run: bun run build:web + + - name: Commit and push dist/web + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add dist/web -f + git diff --cached --quiet || git commit -m "build: web" + git push