Fix app version?
All checks were successful
Publish Development Docker Image / Publish Development Docker Image (push) Successful in 9s

This commit is contained in:
2025-04-07 17:06:40 -04:00
parent d13b16c032
commit 16bd44c599
3 changed files with 4 additions and 1 deletions

View File

@ -51,6 +51,7 @@ ARG EMAIL_FROM
ARG EMAIL_TO
ARG FIRST_NAME
ARG LAST_NAME
ARG APP_VERSION
COPY --chown=node:node api api
RUN yarn rw build api

View File

@ -28,6 +28,8 @@ enum Theme {
'Invalid DEFAULT_THEME environment variable, please select either light or dark'
)
logger.info(`Portfolio ${process.env.APP_VERSION}`)
const server = await createServer({
logger,
configureApiServer: async (server) => {

View File

@ -71,7 +71,7 @@ const HomePage = () => (
>
<a
href={
process.env.APP_VERSION.length > 0
process.env.APP_VERSION !== undefined
? `https://git.altaiar.dev/ahmed/portfolio/releases/tag/${process.env.APP_VERSION}`
: 'https://git.altaiar.dev/ahmed/portfolio'
}