mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
add sync
This commit is contained in:
@@ -57,12 +57,17 @@ def cli(area: str, version: str, list_versions: bool, runs_dir: Path, run_mounte
|
||||
|
||||
if changed and run_mounter:
|
||||
print('running mounter.py')
|
||||
|
||||
subprocess.run(
|
||||
[sys.executable, Path(__file__).parent / 'mounter.py'],
|
||||
check=True,
|
||||
)
|
||||
|
||||
print('running nginx_sync.py')
|
||||
subprocess.run(
|
||||
[sys.executable, Path(__file__).parent / 'nginx_sync' / 'nginx_sync.py'],
|
||||
check=True,
|
||||
)
|
||||
|
||||
print('\n\n\n')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user