Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PATCH: deployment test #3 #6

Merged
merged 1 commit into from
Mar 26, 2024
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
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