Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Update package.json

Update package.json #8

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.JS
uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm install
- run: npm run build
- name: Deploy to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "./build/*"
target: "/root/onrain/frontend"
strip_components: 1
overwrite: true