Skip to content

WIP developer guide #52

WIP developer guide

WIP developer guide #52

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
release:
name: Build and copy static files to server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install deps
run: yarn install --network-concurrency 1
- name: Build project
run: yarn build
- name: Upload built files to server
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: '-rltgoDzvO'
SOURCE: 'build/'
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: '~/emr-doc'