Skip to content

Commit 8e1d0d0

Browse files
add railway deploy workflow
1 parent 649671b commit 8e1d0d0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy to Railway
2+
3+
on:
4+
workflow_run:
5+
workflows: ["Release Sourcebot (Development)"]
6+
types: [completed]
7+
8+
concurrency:
9+
group: deploy-railway
10+
cancel-in-progress: false
11+
12+
jobs:
13+
deploy:
14+
name: Deploy to Railway
15+
runs-on: ubuntu-latest
16+
container: ghcr.io/railwayapp/cli:latest
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
18+
env:
19+
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
20+
21+
steps:
22+
- name: Deploy image to Railway
23+
run: railway redeploy --service=sourcebot

0 commit comments

Comments
 (0)