Skip to content

Commit

Permalink
Update train.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bhyeh authored Jan 30, 2023
1 parent b6f97de commit 83b37fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ jobs:
git config --global user.name github-actions
git config --global user.email github-actions@github.com
git checkout -b"$MODEL_NAME"
git add .
git add data/models.dvc
git add data/models.json
git commit -m "Trained new: $MODEL_NAME"
git push -u origin $MODEL_NAME
gh pr create --base master --head $MODEL_NAME --title "Trained new: $MODEL_NAME" --fill
Expand All @@ -116,6 +117,7 @@ jobs:
run: |
git config --global user.name github-actions
git config --global user.email github-actions@github.com
git add .
git add data/models.dvc
git add data/models.json
git commit -m "Trained new: $MODEL_NAME"
git push

0 comments on commit 83b37fe

Please sign in to comment.