diff --git a/.github/workflows/build-push-docker.yml b/.github/workflows/build-push-docker.yml
deleted file mode 100644
index 402fdaa..0000000
--- a/.github/workflows/build-push-docker.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Docker build and push to ghcr.io/ai-cfia and lint test
-
-on:
- pull_request:
- types:
- - opened
- - closed
- - synchronize
-
-jobs:
- deploy:
- uses: ai-cfia/github-workflows/.github/workflows/workflow-build-push-container-github-registry.yml@63-as-a-devops-i-would-like-to-create-a-workflow-to-push-images-to-this-organisation-docker-registry
- with:
- container-name: ${{ github.event.repository.name }}
- tag: ${{ github.sha }}
- registry: ghcr.io/ai-cfia
- secrets: inherit
\ No newline at end of file
diff --git a/.github/workflows/github-workflows.yml b/.github/workflows/github-workflows.yml
new file mode 100644
index 0000000..e3305f1
--- /dev/null
+++ b/.github/workflows/github-workflows.yml
@@ -0,0 +1,30 @@
+name: Workflows
+
+on:
+ pull_request:
+ types:
+ - opened
+ - closed
+ - synchronize
+
+jobs:
+ lint-test:
+ uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-node.yml@main
+
+ markdown-check:
+ uses: ai-cfia/github-workflows/.github/workflows/workflow-markdown-check.yml@main
+ with:
+ config-file-path: '.mlc_config.json'
+ secrets: inherit
+
+ repo-standard:
+ uses: ai-cfia/github-workflows/.github/workflows/workflow-repo-standards-validation.yml@main
+ secrets: inherit
+
+ build-and-push-gcr:
+ uses: ai-cfia/github-workflows/.github/workflows/workflow-build-push-container-github-registry.yml@63-as-a-devops-i-would-like-to-create-a-workflow-to-push-images-to-this-organisation-docker-registry
+ with:
+ container-name: ${{ github.event.repository.name }}
+ tag: ${{ github.sha }}
+ registry: ghcr.io/ai-cfia
+ secrets: inherit
diff --git a/.github/workflows/vercel-deployment.yml b/.github/workflows/vercel-deployment.yml
deleted file mode 100644
index 738a295..0000000
--- a/.github/workflows/vercel-deployment.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Vercel Preview Deployment
-
-on:
- push:
- branches:
- - main
- pull_request:
-
-jobs:
-
- lint-test:
- uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-node.yml@main
-
- vercel-deployment-dev:
- needs: lint-test
- uses: ai-cfia/github-workflows/.github/workflows/workflow-vercel-deployment.yml@53-update-vercel-deployment-to-add-setup-node-step
- with:
- project-name: 'finesse-frontend'
- deployment-environment: 'dev'
- secrets: inherit
-
- vercel-deployment-uat:
- if: github.ref == 'refs/heads/main'
- uses: ai-cfia/github-workflows/.github/workflows/workflow-vercel-deployment.yml@53-update-vercel-deployment-to-add-setup-node-step
- with:
- project-name: 'finesse-frontend'
- deployment-environment: 'uat'
- secrets: inherit
diff --git a/.mlc_config.json b/.mlc_config.json
new file mode 100644
index 0000000..aa79d75
--- /dev/null
+++ b/.mlc_config.json
@@ -0,0 +1,3 @@
+{
+ "aliveStatusCodes": [999,200,403]
+}
diff --git a/Dockerfile b/Dockerfile
index c196ffb..b177d80 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,10 +2,15 @@ FROM node:18.16.0-alpine AS build
WORKDIR /code
-ARG REACT_APP_BACKEND_URL
-ARG REACT_APP_DEBUG_MODE
-ARG REACT_APP_GITHUB_API_URL
-ARG REACT_APP_SEARCH_SOURCE
+ARG ARG_REACT_APP_BACKEND_URL
+ARG ARG_REACT_APP_DEBUG_MODE
+ARG ARG_REACT_APP_GITHUB_API_URL
+ARG ARG_REACT_APP_SEARCH_SOURCE
+
+ENV REACT_APP_BACKEND_URL=${ARG_REACT_APP_BACKEND_URL:-https://finesse.ninebasetwo.xyz/api}
+ENV REACT_APP_DEBUG_MODE=${ARG_REACT_APP_DEBUG_MODE:-True}
+ENV REACT_APP_GITHUB_API_URL=${ARG_REACT_APP_GITHUB_API_URL:-https://api.github.com/repos/ai-cfia/finesse-data/contents}
+ENV REACT_APP_SEARCH_SOURCE=${ARG_REACT_APP_SEARCH_SOURCE:-azure}
COPY ./src ./src
COPY ./public ./public
diff --git a/public/index.html b/public/index.html
index ff5e5e0..d63f6eb 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,6 +4,7 @@
+