Skip to content

Commit

Permalink
Update cml.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dec1costello authored Oct 22, 2024
1 parent c5ca2d3 commit b72dae4
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Create report.md
run: |
cat "Streamlit/Training Report/results.txt" > "Streamlit/Training Report/report.md"
echo "![](residuals.png)" >> "Streamlit/Training Report/report.md"
cat "Streamlit/Training Report/results.txt" > "Streamlit/Training Report/README.md"
echo "![](residuals.png)" >> "Streamlit/Training Report/README.md"
- name: Commit results and create CML Report
- name: Commit results and update README
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -39,12 +39,8 @@ jobs:
git checkout main
git pull origin main
git add "Streamlit/Training Report/results.txt"
git add "Streamlit/Training Report/report.md"
git add "Streamlit/Training Report/README.md"
git add "Streamlit/Training Report/residuals.png"
git add "Streamlit/light_weight_expected_strokes.pkl"
git commit -m "Add model, results, and report"
git push origin main
source venv/bin/activate
ls -al "Streamlit/Training Report" # Verify that the report file exists
cml comment create "Streamlit/Training Report/report.md" --token ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b72dae4

Please sign in to comment.