Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit ae71c64

Browse files
committed
Increased interval for report to match schedule
1 parent d24194f commit ae71c64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/report.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
--location \
4444
--fail \
4545
| jq --raw-output '
46-
.jobs[] |
47-
select(.workflow_name == "Report") |
46+
.jobs[] |
47+
select(.workflow_name == "Report") |
4848
.html_url
4949
' >>${GITHUB_ENV}
5050
5151
- name: Send report
5252
run: |
53-
curl --silent --fail --request POST --data "{\"msgtype\":\"m.text\",\"body\":\"New report available for $(date -d "yesterday" +%Y-%m-%d): ${{ env.report_url }}\"}" "https://${{ secrets.MATRIX_SERVER }}/_matrix/client/r0/rooms/${{ secrets.MATRIX_ROOM_ID }}/send/m.room.message?access_token=${{ secrets.MATRIX_ACCESS_TOKEN }}"
53+
curl --silent --fail --request POST --data "{\"msgtype\":\"m.text\",\"body\":\"New report available for $(date -d "34 hours ago" +%Y-%m-%d): ${{ env.report_url }}\"}" "https://${{ secrets.MATRIX_SERVER }}/_matrix/client/r0/rooms/${{ secrets.MATRIX_ROOM_ID }}/send/m.room.message?access_token=${{ secrets.MATRIX_ACCESS_TOKEN }}"

0 commit comments

Comments
 (0)