Skip to content

Commit

Permalink
Update messages
Browse files Browse the repository at this point in the history
  • Loading branch information
finfa committed Feb 8, 2024
1 parent fd73908 commit 6313203
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _scripts/humanitec.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = {
if (baseEnv.status > 400) {
throw `Unable to fetch environment /orgs/${HUMANITEC_ORG}/apps/${appId}/envs/${baseEnvId}: ${baseEnv.status}`;
}

// pad number with leading zeros to get to 3 digits
const paddedEnvId = envId.padStart(3, '0');

Expand Down
2 changes: 1 addition & 1 deletion humanitec-deploy-pr/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ runs:
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Preview URL: ${deployment_url}\nHumanitec environment: https://app.humanitec.io${ENV_PATH}`
body: `**${APP_ID} feature environment created**\n\nPreview URL: ${deployment_url}\nHumanitec environment: https://app.humanitec.io${ENV_PATH}`
});
- name: Send message to ms teams
Expand Down

0 comments on commit 6313203

Please sign in to comment.