🚧 add arguments to dockerfile
Some checks are pending
GTFS Route Modification / modify_routes (push) Waiting to run

This commit is contained in:
Charles P. 2024-05-31 22:11:49 +02:00
parent ba0a79cd70
commit 83193a4adb
Signed by: aeris
GPG key ID: 1708D5CC4095E76B
2 changed files with 5 additions and 0 deletions

View file

@ -16,3 +16,7 @@ inputs:
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.gtfs_file }}
- ${{ inputs.routes }}
- ${{ inputs.output_file }}

View 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]