File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def railway_deploy(
36
36
):
37
37
"""Deploy a FastHTML app to Railway"""
38
38
nm ,ver = check_output ("railway --version" .split ()).decode ().split ()
39
- assert nm == 'railwayapp ' , f'Unexpected railway version string: { nm } '
39
+ assert nm == 'railway ' , f'Unexpected railway version string: { nm } '
40
40
if ver2tuple (ver )< (3 ,8 ): return print ("Please update your railway CLI version to 3.8 or higher" )
41
41
cp = run ("railway status --json" .split (), capture_output = True )
42
42
if not cp .returncode :
Original file line number Diff line number Diff line change 82
82
" ):\n " ,
83
83
" \"\"\" Deploy a FastHTML app to Railway\"\"\"\n " ,
84
84
" nm,ver = check_output(\" railway --version\" .split()).decode().split()\n " ,
85
- " assert nm=='railwayapp ', f'Unexpected railway version string: {nm}'\n " ,
85
+ " assert nm=='railway ', f'Unexpected railway version string: {nm}'\n " ,
86
86
" if ver2tuple(ver)<(3,8): return print(\" Please update your railway CLI version to 3.8 or higher\" )\n " ,
87
87
" cp = run(\" railway status --json\" .split(), capture_output=True)\n " ,
88
88
" if not cp.returncode:\n " ,
You can’t perform that action at this time.
0 commit comments