Skip to content

Commit

Permalink
not working somehow
Browse files Browse the repository at this point in the history
  • Loading branch information
JRPan committed Jun 26, 2024
1 parent 3998c5e commit 24a4f9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/long-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
rsync --delete -r ./util/plotting/correl-html/ ghci@tgrogers-pc01:/home/ghci/accel-sim/correl/git_${GITHUB_REF}"_"$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT/
BODY="Correlation Report at: https://tgrogers-pc01.ecn.purdue.edu/github-ci/accel-sim/correl/git_${GITHUB_REF}"_"$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT/"
SUBJECT="Github CI - $GITHUB_REF SUCCESS"
TO="[email protected]"
TO="${{ secrets.GROUP_EMAIL }}"
echo "$BODY" | mail -s "$SUBJECT" "$TO"
echo "$BODY"
PTX-Simulation:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/short-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: mail test
env:
RECIPIENT: ${{ secrets.GROUP_EMAIL }}
run: |
BODY="Github CI - Build $GITHUB_REF SUCCESS.\nBranch or PR Name: $GITHUB_REF_NAME\nCorrelation Report at: https://tgrogers-pc01.ecn.purdue.edu/github-ci/accel-sim/correl/git_${GITHUB_REF}"_"$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT/."
SUBJECT="Github CI - Build $GITHUB_REF SUCCESS"
TO="${{ secrets.GROUP_EMAIL }}"
echo "${{ secrets.GROUP_EMAIL }}"
TO="RECIPIENT"
echo "$RECIPIENT"
echo "$BODY" | mail -s "$SUBJECT" "$TO"
echo "Correlation Report at: https://tgrogers-pc01.ecn.purdue.edu/github-ci/accel-sim/correl/git_${GITHUB_REF}"_"$GITHUB_RUN_NUMBER"_"$GITHUB_RUN_ATTEMPT/."

0 comments on commit 24a4f9d

Please sign in to comment.