Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi guys,
I'd like to run some code in my Umbraco website whenever a deployment happens but I only found two ways to do it which are not ideal:
Is there a way of umbraco being aware it's been deployed such as an event?
Many thanks
Go with the webhook. That is why it’s there.
Other solutions would be hacks, like a marker file that is deleted (like in modelsbuilder), or webconfig settings being changed.
What code are you trying to run on/after deploy?
Hi Søren,
thanks for the feedback.
I'm changing some node's templates and I have it working pretty well using the web hook.
Cheers
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Umbraco Cloud deploy event
Hi guys,
I'd like to run some code in my Umbraco website whenever a deployment happens but I only found two ways to do it which are not ideal:
Is there a way of umbraco being aware it's been deployed such as an event?
Many thanks
Go with the webhook. That is why it’s there.
Other solutions would be hacks, like a marker file that is deleted (like in modelsbuilder), or webconfig settings being changed.
What code are you trying to run on/after deploy?
Hi Søren,
thanks for the feedback.
I'm changing some node's templates and I have it working pretty well using the web hook.
Cheers
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.