From e6af86fd6c9ace2e4cf4a08f2f061f7992325375 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 11 Oct 2023 11:31:33 -0700 Subject: [PATCH] github: workflows: ci: Add deployment to github page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 }}