Skip to content

Commit

Permalink
github: workflows: ci: Add deployment to github page
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Oct 11, 2023
1 parent bab59a3 commit f0e93ac
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
if: success() && github.event_name != 'pull_request'
with:
branch: gh-pages
folder: dist

deploy-electron:
needs: test
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit f0e93ac

Please sign in to comment.