Skip to content

Commit

Permalink
move the logging of commit SHAs in post deploys further down
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Dec 14, 2024
1 parent 3d4735a commit 242b260
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/functions/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ export async function post() {
deployment_start_time: core.getState('deployment_start_time')
}

core.info(`🧑‍🚀 commit SHA: ${COLORS.highlight}${data.sha}${COLORS.reset}`)

// If bypass is set, exit the workflow
if (bypass) {
core.warning(`⛔ ${COLORS.highlight}bypass${COLORS.reset} set, exiting`)
Expand All @@ -76,6 +74,8 @@ export async function post() {
additionalPlugins: [octokitRetry]
})

core.info(`🧑‍🚀 commit SHA: ${COLORS.highlight}${data.sha}${COLORS.reset}`)

// Set the environment_url
if (data.environment_url === null) {
core.debug('environment_url not set, its value is null')
Expand Down

0 comments on commit 242b260

Please sign in to comment.