Skip to content

Commit

Permalink
Merge pull request #6 from dataesr/staging
Browse files Browse the repository at this point in the history
PATCH: deployment test #3
  • Loading branch information
folland87 authored Mar 26, 2024
2 parents e703650 + 39bc792 commit 2ab6420
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy production
name: Bump client npm version

on:
push:
Expand Down
4 changes: 3 additions & 1 deletion client/src/components/footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function Footer({
children?: React.ReactNode;
fluid?: boolean;
}) {
const version = import.meta.env?.VITE_VERSION;
return (
<IntlProvider messages={messages} locale="fr" defaultLocale="fr">
<footer className="fr-footer fr-mt-3w" role="contentinfo" id="footer">
Expand Down Expand Up @@ -172,10 +173,11 @@ export function Footer({
<li>
<Link
className="fr-footer__top-link"
href="https://github.com/dataesr/scanr"
href="https://github.com/dataesr/scanr-next-gen"
target="_blank"
>
GitHub
{version && ` – v${version}`}
</Link>
</li>
<li>
Expand Down

0 comments on commit 2ab6420

Please sign in to comment.