Skip to content

Commit

Permalink
Do not commit old forecasts files (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykironde authored Jan 25, 2024
1 parent 4566d4b commit 85b11ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions archive_hipergator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ cp ../portal_dryrun_forecast.sh .
git config user.email "[email protected]"
git config user.name "Weecology Deploy Bot"

# Commit changes to portal-forecasts repo
# Commit changes to portal-forecasts repo. Do not commit old forecasts files.
git checkout main
git add data/* models/* forecasts/* portal_weekly_forecast.sh portal_dryrun_forecast.sh
git add data/* models/* portal_weekly_forecast.sh portal_dryrun_forecast.sh
git ls-files ./forecasts --others --exclude-standard --directory | xargs git add
git add forecasts/forecasts_evaluations.zip forecasts/forecasts_metadata.csv forecasts/forecasts_results.csv

git commit -m "Update forecasts: HiperGator Build $current_date [ci skip]"

# Add deploy remote
Expand Down

0 comments on commit 85b11ad

Please sign in to comment.