This commit is contained in:
parent
d7d4df3d51
commit
4edd8287b4
@ -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 }}
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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/**'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user