Skip to content

Commit 4bc275b

Browse files
Saad NadeemSaad Nadeem
authored andcommitted
some-fixes
1 parent c1008ba commit 4bc275b

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,29 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
env:
11+
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
1012
steps:
1113
- uses: actions/checkout@v3
1214

1315
- name: Install Railway CLI
1416
run: curl -fsSL https://railway.app/install.sh | sh
1517

16-
- name: Deploy to Railway
17-
env:
18-
RAILWAY_TOKEN: 0f9aec32-ff91-4500-9165-60c5916af8b1
18+
- name: Verify Railway CLI Version
19+
run: railway --version
20+
21+
- name: Login to Railway
22+
run: railway login
23+
24+
- name: Link to Railway Project
25+
run: railway link profound-sparkle
26+
27+
- name: Deploy Frontend Service
1928
run: |
20-
railway login --token $RAILWAY_TOKEN
21-
railway link logistics-app
2229
echo "Deploying frontend service"
2330
railway up --service frontend
31+
32+
- name: Deploy Backend Service
33+
run: |
2434
echo "Deploying backend service"
2535
railway up --service backend

0 commit comments

Comments
 (0)