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 3ecd5d4 commit c111403
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ jobs:
run: |
cat "Streamlit/Training Report/results.txt" > "Streamlit/Training Report/report.md"
echo "![](residuals.png)" >> "Streamlit/Training Report/report.md"
- name: Commit results and report
- name: Commit results and create CML Report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
Expand All @@ -42,10 +44,7 @@ jobs:
git add "Streamlit/light_weight_expected_strokes.pkl"
git commit -m "Add model, results, and report"
git push origin main
- name: Create CML Report
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
source venv/bin/activate
cml comment create "Streamlit/Training Report/report.md" --token ${{ secrets.GITHUB_TOKEN }}
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 c111403

Please sign in to comment.