Skip to content

Commit

Permalink
Merge pull request #42 from NOAA-GFDL/41.notify.dir
Browse files Browse the repository at this point in the history
adding notification for which directory cloned into
  • Loading branch information
cwhitlock-NOAA authored Mar 6, 2024
2 parents 0cdd5f7 + cbb293b commit 27544c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fre/frepp/checkoutScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def checkoutTemplate(experiment, platform, target):
name = f"{experiment}__{platform}__{target}"

# Clone the repository with depth=1
click.echo("cloning into directory " + directory + "/" + name)
clonecmd = f"git clone --depth=1 --recursive https://gitlab.gfdl.noaa.gov/fre2/workflows/postprocessing.git {name}"
subprocess.run(clonecmd, shell=True, check=True)

Expand Down

0 comments on commit 27544c9

Please sign in to comment.