Skip to content

Commit

Permalink
add: extra info
Browse files Browse the repository at this point in the history
  • Loading branch information
printSANO committed Oct 27, 2024
1 parent 2035a74 commit 6ec8b79
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ jobs:
DOCKER_IMAGE_TAG: ${{ steps.set_docker_image_tag.outputs.DOCKER_IMAGE_TAG }}
SLACK_SECRET: ${{ secrets.SLACK_DEPLOY_SECRET }}}
run: |
commit_message="${{ github.event.head_commit.message }}"
commit_link="https://github.com/${{ github.repository_owner }}/${{ github.event.repository.name }}/commit/${{ github.sha }}"
curl -X POST https://techeer-029051b54345.herokuapp.com/api/v1/deploy/image \
-H "Content-Type: application/json" \
-d '{"imageName": "'"$IMAGE_NAME"'", "imageTag": "'"$DOCKER_IMAGE_TAG"'", "message": "'"${{ github.event.head_commit.message }}"'", "secret": "'"$SLACK_SECRET"'"}'
-d '{
"imageName": "'"$IMAGE_NAME"'",
"imageTag": "'"$DOCKER_IMAGE_TAG"'",
"message": "'"$commit_message"'",
"commitLink": "'"$commit_link"'",
"secret": "'"$SLACK_SECRET"'"
}'

0 comments on commit 6ec8b79

Please sign in to comment.