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

This commit is contained in:
Никита Круглицкий 2025-10-01 23:56:13 +06:00
parent 8f24f6c1e9
commit e201aed526
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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