Skip to content

Commit 242b260

Browse files
committed
move the logging of commit SHAs in post deploys further down
1 parent 3d4735a commit 242b260

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/functions/post.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ export async function post() {
4949
deployment_start_time: core.getState('deployment_start_time')
5050
}
5151

52-
core.info(`🧑‍🚀 commit SHA: ${COLORS.highlight}${data.sha}${COLORS.reset}`)
53-
5452
// If bypass is set, exit the workflow
5553
if (bypass) {
5654
core.warning(`⛔ ${COLORS.highlight}bypass${COLORS.reset} set, exiting`)
@@ -76,6 +74,8 @@ export async function post() {
7674
additionalPlugins: [octokitRetry]
7775
})
7876

77+
core.info(`🧑‍🚀 commit SHA: ${COLORS.highlight}${data.sha}${COLORS.reset}`)
78+
7979
// Set the environment_url
8080
if (data.environment_url === null) {
8181
core.debug('environment_url not set, its value is null')

0 commit comments

Comments
 (0)