#3 update
All checks were successful
Deploy / deploy (push) Successful in 20s

This commit is contained in:
Никита Круглицкий 2025-10-02 00:09:06 +06:00
parent d7d4df3d51
commit 4edd8287b4
3 changed files with 1 additions and 5 deletions

View File

@ -24,8 +24,6 @@ jobs:
ssh-strict: false
persist-credentials: false
- run: echo ${{ gitea.sha }}
- name: Build
run: docker build -t chad-client ./client --build-arg COMMIT_SHA=${{ gitea.sha }}

View File

@ -13,8 +13,6 @@ COPY . .
ARG COMMIT_SHA=unknown
ENV COMMIT_SHA=$COMMIT_SHA
RUN echo $COMMIT_SHA
RUN yarn generate
FROM nginx:stable-alpine

View File

@ -12,7 +12,7 @@ export default defineNuxtConfig({
strictPort: true,
},
define: {
__COMMIT_SHA__: JSON.stringify(process.env.VITE_COMMIT_SHA || 'local'),
__COMMIT_SHA__: JSON.stringify(process.env.COMMIT_SHA || 'local'),
},
},
ignore: ['**/src-tauri/**'],