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