Skip to content

Commit c746a41

Browse files
committed
Refactor meeting summaries retrieval and commit process
1 parent cff9294 commit c746a41

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/commit-meeting-summaries.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ jobs:
1212

1313
steps:
1414
- name: Retrieve Meeting Summaries
15-
id: retrieve-summaries
1615
run: |
1716
curl -X POST ${{ secrets.NETLIFY_BASE_URL }}/.netlify/functions/getMeetingSummaries \
1817
-H 'Content-Type: application/json' \
1918
-d '{}' \
2019
-o meeting-summaries.json
21-
echo "::set-output name=summaries::$(cat meeting-summaries.json)"
20+
echo "summaries=$(cat meeting-summaries.json)" >> $GITHUB_STATE
2221
2322
- name: Commit to GitHub
2423
run: |
@@ -28,6 +27,6 @@ jobs:
2827
"owner": "SingularityNET-Archive",
2928
"repo": "SingularityNET-Archive",
3029
"filePath": "Data/meeting-summaries.json",
31-
"content": ${{ steps.retrieve-summaries.outputs.summaries }},
30+
"content": ${{ env.summaries }},
3231
"commitMessage": "Update meeting summaries"
3332
}'

0 commit comments

Comments
 (0)