This commit is contained in:
Andras Bacsai
2023-06-21 10:48:43 +02:00
parent cfc2405596
commit d0af38fb14
6 changed files with 41 additions and 32 deletions

View File

@@ -1,8 +1,8 @@
@if ($pull_request_id === 0)
A new version of <a target="_blank" href="{{ $fqdn }}">{{ $fqdn }}</a> is available.<br><br>
A new version of <a target="_blank" href="{{ $fqdn }}">{{ $fqdn }}</a> is available:
@else
Pull request #{{ $pull_request_id }} is available for review at <a target="_blank"
href="{{ $fqdn }}">{{ $fqdn }}</a><br><br>
Pull request #{{ $pull_request_id }} of {{ $name }} deployed successfully: <a target="_blank"
href="{{ $fqdn }}">Application Link</a> |
@endif
<a target="_blank" href="{{ $url }}">View
<a target="_blank" href="{{ $deployment_url }}">View
Deployment Logs</a><br><br>

View File

@@ -1,12 +1,8 @@
Hello,<br><br>
Deployment failed of "{{ $name }}"
@if ($pull_request_id !== 0)
:PR #{{ $pull_request_id }}
Pull Request #{{ $pull_request_id }} of {{ $name }} (<a target="_blank"
href="{{ $fqdn }}">{{ $fqdn }}</a>) deployment failed:
@else
Deployment failed of {{ $name }} (<a target="_blank" href="{{ $fqdn }}">{{ $fqdn }}</a>):
@endif
to <a target="_blank" href="{{ $fqdn }}">{{ $fqdn }}</a>.<br><br>
Click the following link to view the deployment logs: <a target="_blank" href="{{ $url }}">View
Deployment Logs</a><br><br>
<a target="_blank" href="{{ $deployment_url }}">View Deployment Logs</a><br><br>