Skip to content

Commit 9435594

Browse files
authored
Merge pull request #65 from runwaylab/log-deployment-start
add a log message at the start of deployments
2 parents 39d83c8 + 34e6687 commit 9435594

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: runway
2-
version: 0.5.5
2+
version: 0.5.7
33

44
authors:
55
- GrantBirki

src/runway/models/project.cr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class Project
5151
# Check if the desired event type had a deployable event occur
5252
payload = @events[event.uuid].check_for_event
5353
@log.debug { "deployment event triggered from event.type #{event.type} for #{@name} - event.uuid #{event.uuid}" } if payload.ship_it?
54+
@log.info { Emoji.emojize(":astronaut: deploying #{@name}#{payload.environment ? " to #{payload.environment}" : ""}!") } if payload.ship_it?
5455

5556
# If the event was triggered, run the project's deployment configuration
5657
payload = @deployment.deploy(payload).not_nil! if payload.ship_it?

src/version.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Runway
2-
VERSION = "v0.5.6"
2+
VERSION = "v0.5.7"
33
end

0 commit comments

Comments
 (0)