Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Remove MESSAGE from variables and from Sentry call.
  • Loading branch information
svogt0511 committed Dec 7, 2022
1 parent c4db125 commit 49be864
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ jobs:
echo "BRANCH=$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')" >> $GITHUB_OUTPUT
echo "GIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
echo "GIT_SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
# echo "MESSAGE=$(git log --format='%f %b' -n 1 ${{ github.event.after }})" >> $GITHUB_OUTPUT
id: extract_variables

- name: Vercel deploy
Expand Down Expand Up @@ -213,7 +212,6 @@ jobs:
text: 'A new version of <https://doi.datacite.org|Fabrica> has been deployed to production and test.'
failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed'
fields: |
# [{ "title": "Commit message", "value": "${{ steps.extract_variables.outputs.MESSAGE }}" },
[{ "title": "Committed by", "value": "<https://github.com/${{ github.repository }}/commits?author=${{ github.actor }}|${{ github.actor }}>", "short": true },
{ "title": "Commit SHA", "value": "<https://github.com/${{ github.repository }}/commit/${{ steps.extract_variables.outputs.GIT_SHA }}|${{ steps.extract_variables.outputs.GIT_SHA_SHORT }}>", "short": true },
{ "title": "Repository", "value": "<https://github.com/${{ github.repository }}|${{ github.repository }}>", "short": true },
Expand Down

0 comments on commit 49be864

Please sign in to comment.