Skip to content

Deploy Visualizator Backend #28

Deploy Visualizator Backend

Deploy Visualizator Backend #28

Workflow file for this run

name: Deploy Visualizator Backend
on:
push:
branches:
- main
paths:
- "apps/visualizator-be/**"
# Enables manual trigger of the workflow
workflow_dispatch:
jobs:
ci:
runs-on: self-hosted
defaults:
run:
working-directory: /${{ vars.USER }}/xcm-tools
steps:
- run: git pull
- run: pnpm install
- run: pnpm build
- name: Restart PM2 process
run: pm2 restart visualizator-be
env:
PM2_HOME: /${{ vars.USER }}/.pm2