From c746a41f6e76e24a116db59e648be5ba2627903a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Diamond?= <32074058+Andre-Diamond@users.noreply.github.com> Date: Tue, 23 Apr 2024 07:39:48 +0200 Subject: [PATCH] Refactor meeting summaries retrieval and commit process --- .github/workflows/commit-meeting-summaries.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/commit-meeting-summaries.yml b/.github/workflows/commit-meeting-summaries.yml index d7b915a..0046010 100644 --- a/.github/workflows/commit-meeting-summaries.yml +++ b/.github/workflows/commit-meeting-summaries.yml @@ -12,13 +12,12 @@ jobs: steps: - name: Retrieve Meeting Summaries - id: retrieve-summaries run: | curl -X POST ${{ secrets.NETLIFY_BASE_URL }}/.netlify/functions/getMeetingSummaries \ -H 'Content-Type: application/json' \ -d '{}' \ -o meeting-summaries.json - echo "::set-output name=summaries::$(cat meeting-summaries.json)" + echo "summaries=$(cat meeting-summaries.json)" >> $GITHUB_STATE - name: Commit to GitHub run: | @@ -28,6 +27,6 @@ jobs: "owner": "SingularityNET-Archive", "repo": "SingularityNET-Archive", "filePath": "Data/meeting-summaries.json", - "content": ${{ steps.retrieve-summaries.outputs.summaries }}, + "content": ${{ env.summaries }}, "commitMessage": "Update meeting summaries" }' \ No newline at end of file