Skip to content

deploy: relay server nginx config #3

deploy: relay server nginx config

deploy: relay server nginx config #3

Workflow file for this run

name: deploy web-chat-x-express libp2p stun server
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "packages/web-chat-x-express/**"
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Node.js
uses: actions/[email protected]
with:
node-version: "18.18.1"
- uses: pnpm/[email protected]
name: Install pnpm
with:
version: 8.12.0
run_install: false
- name: Install npm dependencies
run: pnpm install
- name: Build
run: pnpm build:b
- name: Deploy to Server
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ vars.SSH_KEY }}
ARGS: "-rltgoDzvO --delete"
SOURCE: "packages/web-chat-x-express/build/"
REMOTE_HOST: "81.68.108.130"
REMOTE_USER: root
TARGET: "/home/web-chat-x/web-chat-x-express"