Skip to content

Commit

Permalink
follow up on #45 to set a build_ref on deployment hook
Browse files Browse the repository at this point in the history
previously we populated build_slug to shuffle around via minio
  • Loading branch information
ewdurbin committed Sep 18, 2023
1 parent b49057c commit 3be3d31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cabotage/celery/tasks/github.py
Expand Up @@ -103,6 +103,7 @@ def process_deployment_hook(hook):
"installation_id": installation_id,
"auto_deploy": True,
},
build_ref=deployment["sha"],
)
db.session.add(image)
db.session.flush()
Expand Down

0 comments on commit 3be3d31

Please sign in to comment.