🚧 add arguments to dockerfile
Some checks are pending
GTFS Route Modification / modify_routes (push) Waiting to run
Some checks are pending
GTFS Route Modification / modify_routes (push) Waiting to run
This commit is contained in:
parent
ba0a79cd70
commit
83193a4adb
2 changed files with 5 additions and 0 deletions
|
@ -16,3 +16,7 @@ inputs:
|
|||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.gtfs_file }}
|
||||
- ${{ inputs.routes }}
|
||||
- ${{ inputs.output_file }}
|
||||
|
|
|
@ -46,6 +46,7 @@ def modify_routes(gtfs_file, routes, output_file=None):
|
|||
|
||||
logging.info(f"Done!")
|
||||
|
||||
|
||||
if __name__ == "main":
|
||||
gtfs_file = sys.argv[1]
|
||||
routes = sys.argv[2]
|
||||
|
|
Loading…
Reference in a new issue