Skip to content

Fixed a race condition between our splash screen and main window. #127

Fixed a race condition between our splash screen and main window.

Fixed a race condition between our splash screen and main window. #127

Workflow file for this run

name: CD (Development)
on:
push:
branches: [mvp]
workflow_dispatch:
jobs:
web_app:
name: Web app
runs-on: ubuntu-22.04
steps:
- name: Set the timezone to New Zealand
uses: szenius/[email protected]
with:
timezoneLinux: 'Pacific/Auckland'
- name: Check out OpenCOR
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install bun
run: npm install -g bun
- name: OpenCOR dependencies
run: bun install
- name: Build OpenCOR's Web app
run: bun build:web
- name: Deploy to https://opencor.ws/mvpdev/
uses: milanmk/actions-file-deployer@master
with:
remote-protocol: sftp
remote-host: ${{ secrets.REMOTE_HOST }}
remote-user: ${{ secrets.REMOTE_USER }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
local-path: ./src/renderer/dist
remote-path: /home/www/opencor.ws/mvpdev
sync: full