Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
tidy up ci scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yichengt900 committed Jan 10, 2024
1 parent f9453f9 commit 798966d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/NWA12_RT.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# This workflow contains a single job called "NWA12_RT_run"
NWA12_RT_run:
# The type of runner that the job will run on
runs-on: self-hosted

Expand Down
5 changes: 1 addition & 4 deletions ci/create_run_xml_from_template.bash
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ cat ocean_ice_cobalt_experiments.template.xml | sed -e "s/<FMS_GIT_HASH>/$hash_F
> ocean_ice_cobalt_experiments.xml


# -- clean up tmp folders or runs from previos runs
echo "remove MOM6_OBGC_examples folder"
rm -rf MOM6_OBGC_examples

# -- clean up work folders or runs from previos runs
workflow_directory="/lustre/f2/dev/Yi-cheng.Teng/github/cefi_NWA12_regression_${CURRENT_DATE}"
# Check if the directory exists
if [ -d "$workflow_directory" ]; then
Expand Down

0 comments on commit 798966d

Please sign in to comment.