#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 ssh-strict: false
persist-credentials: false persist-credentials: false
- run: echo ${{ gitea.sha }}
- name: Build - name: Build
run: docker build -t chad-client ./client --build-arg COMMIT_SHA=${{ gitea.sha }} run: docker build -t chad-client ./client --build-arg COMMIT_SHA=${{ gitea.sha }}

View File

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

View File

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