This commit is contained in:
parent
8f24f6c1e9
commit
e201aed526
@ -24,7 +24,7 @@ jobs:
|
|||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: docker build -t chad-client ./client
|
run: docker build -t chad-client ./client --build-arg COMMIT_SHA=${{ vars.GITEA_SHA }}
|
||||||
|
|
||||||
- name: Stop old container
|
- name: Stop old container
|
||||||
run: docker rm -f chad-client || true
|
run: docker rm -f chad-client || true
|
||||||
|
|||||||
@ -9,6 +9,9 @@ COPY package.json yarn.lock .yarnrc.yml ./
|
|||||||
|
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
ENV COMMIT_SHA=$COMMIT_SHA
|
||||||
|
|
||||||
RUN yarn generate
|
RUN yarn generate
|
||||||
|
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user