Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ricky.gummadi committed Jul 1, 2024
1 parent 1ea373f commit a5037cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,13 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo } = context.repo;
const issue_number = context.payload.pull_request ? context.payload.pull_request.number : context.payload.number;
const commit_sha = context.sha;
const newTag = process.env.NEW_TAG;
const comment = {
owner,
repo,
issue_number,
commit_sha,
body: `Deployment successful with release ${newTag}!`
};
await github.issues.createComment(comment);
await github.repos.createCommitComment(comment);

1 comment on commit a5037cd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment successful with release 1.1.0!

Please sign in to comment.