File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to Railway
2+
3+ on :
4+ push :
5+ branches : [dev]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+ environment : dev
11+ container : ghcr.io/railwayapp/cli:latest
12+ env :
13+ SVC_ID_ERPC : ${{ secrets.SVC_ID_ERPC }}
14+ SVC_ID_MONITOR : ${{ secrets.SVC_ID_MONITOR }}
15+ RAILWAY_TOKEN : ${{ secrets.RAILWAY_TOKEN }}
16+ steps :
17+ - uses : actions/checkout@v3
18+ - run : railway up --service=${{ env.SVC_ID_ERPC }}
19+ - run : railway up --service=${{ env.SVC_ID_MONITOR }}
File renamed without changes.
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://railway.com/railway.schema.json" ,
3+ "build" : {
4+ "builder" : " DOCKERFILE" ,
5+ "dockerfilePath" : " Dockerfile.monitoring"
6+ },
7+ "deploy" : {
8+ "restartPolicyType" : " ALWAYS" ,
9+ "restartPolicyMaxRetries" : 5
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments