-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (31 loc) · 899 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Deploy
on:
push:
branches:
- main
jobs:
install:
runs-on: ubuntu-latest
steps:
- name: Checkout PR
uses: actions/checkout@v4
- name: 📥 Setup
uses: ./.github/actions/setup-job
- name: 📥 Monorepo install
uses: ./.github/actions/pnpm-install
- name: Build workflow parser
run: |
pnpm --filter @pipelineui/workflow-parser build
- name: Build language-server
run: |
pnpm --filter @pipelineui/workflow-languageserver build
- name: Build app
run: |
pnpm --filter @pipelineui/app build
- name: Deploy to Railway
run: |
cd packages/app
cp nixpacks.toml .output
cp .output/server/package.json .output
cd .output
RAILWAY_TOKEN=${{ secrets.RAILWAY_TOKEN }} pnpm railway up -s pipelineui-server