From 0ed7e31997876ed8db98e7372ef9090b3a0b4071 Mon Sep 17 00:00:00 2001 From: minotti_c Date: Thu, 5 May 2022 14:45:56 +0200 Subject: [PATCH] Fix spelling of job template files and references --- .github/workflows/scicat-be.yml | 2 +- .../development/{job-tempate.html => job-template.html} | 0 .../production/{job-tempate.html => job-template.html} | 0 .../backend/qa/{job-tempate.html => job-template.html} | 0 helm_configs/backend/values.yaml | 6 +++--- 5 files changed, 4 insertions(+), 4 deletions(-) rename helm_configs/backend/development/{job-tempate.html => job-template.html} (100%) rename helm_configs/backend/production/{job-tempate.html => job-template.html} (100%) rename helm_configs/backend/qa/{job-tempate.html => job-template.html} (100%) diff --git a/.github/workflows/scicat-be.yml b/.github/workflows/scicat-be.yml index 865e62b..8baa796 100644 --- a/.github/workflows/scicat-be.yml +++ b/.github/workflows/scicat-be.yml @@ -50,7 +50,7 @@ jobs: "LOGIN_CALLBACKS": $(jq -R -s < helm_configs/backend/login-callbacks.js), "MIDDLEWARE": $(jq -R -s < helm_configs/backend/${{ needs.set_env.outputs.environment }}/middleware.json), "PUBLISH_FINISHED": $(jq -R -s < helm_configs/backend/publishWhenFinished.js), - "EMAIL_TEMPLATE": $(jq -R -s < helm_configs/backend/${{ needs.set_env.outputs.environment }}/job-tempate.html), + "EMAIL_TEMPLATE": $(jq -R -s < helm_configs/backend/${{ needs.set_env.outputs.environment }}/job-template.html), "HIDE_EMAIL": $(jq -R -s < helm_configs/backend/hideEmail.js), } EOF diff --git a/helm_configs/backend/development/job-tempate.html b/helm_configs/backend/development/job-template.html similarity index 100% rename from helm_configs/backend/development/job-tempate.html rename to helm_configs/backend/development/job-template.html diff --git a/helm_configs/backend/production/job-tempate.html b/helm_configs/backend/production/job-template.html similarity index 100% rename from helm_configs/backend/production/job-tempate.html rename to helm_configs/backend/production/job-template.html diff --git a/helm_configs/backend/qa/job-tempate.html b/helm_configs/backend/qa/job-template.html similarity index 100% rename from helm_configs/backend/qa/job-tempate.html rename to helm_configs/backend/qa/job-template.html diff --git a/helm_configs/backend/values.yaml b/helm_configs/backend/values.yaml index afdc66f..e76e071 100644 --- a/helm_configs/backend/values.yaml +++ b/helm_configs/backend/values.yaml @@ -62,7 +62,7 @@ configMaps: login-callbacks.js: "{{ .Values.ciVars.LOGIN_CALLBACKS }}" middleware.json: "{{ .Values.ciVars.MIDDLEWARE }}" publishWhenFinished.js: "{{ .Values.ciVars.PUBLISH_FINISHED }}" - job-tmpate.html: "{{ .Values.ciVars.EMAIL_TEMPLATE }}" + job-template.html: "{{ .Values.ciVars.EMAIL_TEMPLATE }}" hideEmail.js: "{{ .Values.ciVars.HIDE_EMAIL }}" env: @@ -88,8 +88,8 @@ volumeMounts: mountPath: /usr/src/app/server/boot/publishWhenFinished.js subPath: publishWhenFinished.js - name: config-volume - mountPath: /usr/src/app/email-templates/job-tempate.html - subPath: job-tempate.html + mountPath: /usr/src/app/email-templates/job-template.html + subPath: job-template.html - name: config-volume mountPath: /usr/src/app/server/boot/hideEmail.js subPath: hideEmail.js