Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,8 @@ jobs:
name: Build Windows Applications
runs-on: ubuntu-latest
needs: build
outputs:
has_windows_bundle: ${{ steps.detect-windows-bundle.outputs.exists }}
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand Down Expand Up @@ -704,11 +706,24 @@ jobs:
retention-days: 1
compression-level: 6

- name: Detect Windows Electron bundle
id: detect-windows-bundle
if: ${{ !cancelled() }}
run: |
bundle_path="dist/apps/agenstra/native-agent-console/out/native-agent-console-win32-x64"
if [ -d "$bundle_path" ]; then
echo "exists=true" >> "$GITHUB_OUTPUT"
else
echo "exists=false" >> "$GITHUB_OUTPUT"
fi

build-native-applications-windows-installer:
name: Build Windows Installer
runs-on: windows-latest
needs: build-native-applications-windows
if: ${{ needs.build-native-applications-windows.result == 'success' }}
if: >-
needs.build-native-applications-windows.result == 'success' &&
needs.build-native-applications-windows.outputs.has_windows_bundle == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,8 @@ jobs:
contents: read
actions: read
packages: write
outputs:
has_windows_bundle: ${{ steps.detect-windows-bundle.outputs.exists }}
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand Down Expand Up @@ -486,7 +488,7 @@ jobs:
with:
name: windows-electron-bundle
path: dist/apps/agenstra/native-agent-console/out/native-agent-console-win32-x64
if-no-files-found: ignore
if-no-files-found: error
retention-days: 1

- name: Upload Windows zip artifacts
Expand All @@ -498,13 +500,26 @@ jobs:
retention-days: 1
compression-level: 6

- name: Detect Windows Electron bundle
id: detect-windows-bundle
if: ${{ !cancelled() }}
run: |
bundle_path="dist/apps/agenstra/native-agent-console/out/native-agent-console-win32-x64"
if [ -d "$bundle_path" ]; then
echo "exists=true" >> "$GITHUB_OUTPUT"
else
echo "exists=false" >> "$GITHUB_OUTPUT"
fi

build-native-applications-windows-installer:
name: Build Windows Installer
runs-on: windows-latest
needs:
- publish
- build-native-applications-windows
if: needs.publish.outputs.new_release_published == 'true'
if: >-
needs.publish.outputs.new_release_published == 'true' &&
needs.build-native-applications-windows.outputs.has_windows_bundle == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand Down
Binary file modified apps/forepath/frontend-landingpage/public/favicon.ico
Binary file not shown.
24 changes: 24 additions & 0 deletions apps/forepath/frontend-landingpage/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,32 @@
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" sizes="any" type="image/svg+xml" href="assets/images/favicon.svg" />

<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-NH49DDJJ');
</script>
</head>
<body>
<app-root></app-root>

<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-NH49DDJJ"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
</body>
</html>
Loading