We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30436b9 commit c1008baCopy full SHA for c1008ba
.github/workflows/deploy.yml
@@ -0,0 +1,25 @@
1
+name: Deploy to Railway
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
13
+ - name: Install Railway CLI
14
+ run: curl -fsSL https://railway.app/install.sh | sh
15
16
+ - name: Deploy to Railway
17
+ env:
18
+ RAILWAY_TOKEN: 0f9aec32-ff91-4500-9165-60c5916af8b1
19
+ run: |
20
+ railway login --token $RAILWAY_TOKEN
21
+ railway link logistics-app
22
+ echo "Deploying frontend service"
23
+ railway up --service frontend
24
+ echo "Deploying backend service"
25
+ railway up --service backend
0 commit comments