Simulation Experiment View Settings dialog: fixed the styling of sett… #143
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CD (Development) | |
| on: | |
| push: | |
| branches: [main] | |
| 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 bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: OpenCOR dependencies | |
| run: bun install | |
| - name: Build OpenCOR's Web app | |
| env: | |
| VITE_FIREBASE_API_KEY: ${{ secrets.VITE_FIREBASE_API_KEY }} | |
| VITE_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.VITE_FIREBASE_MESSAGING_SENDER_ID }} | |
| VITE_FIREBASE_APP_ID: ${{ secrets.VITE_FIREBASE_APP_ID }} | |
| VITE_FIREBASE_MEASUREMENT_ID: ${{ secrets.VITE_FIREBASE_MEASUREMENT_ID }} | |
| run: bun build:web | |
| - name: Deploy to https://opencor.ws/appdev/ | |
| 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/appdev | |
| sync: full |