diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c9b39623..30c90dcb9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,31 @@ jobs: bun run build xvfb-run --auto-servernum bun test:ci + deploy-page: + needs: test + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + + - uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + + - name: Run bun + run: | + bun install --frozen-lockfile + bun run build + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@4.1.5 + if: success() && github.event_name != 'pull_request' + with: + branch: gh-pages + folder: dist + deploy-electron: needs: test runs-on: ${{ matrix.os }}