ci: brand assets

Signed-off-by: izzy <me@insrt.uk>
This commit is contained in:
izzy
2026-06-23 09:06:08 +01:00
parent 4cb8b370fe
commit 38f95897ca
2 changed files with 8 additions and 0 deletions

View File

@@ -38,5 +38,7 @@ jobs:
registry.stoatinternal.com/stoat/legacy-frontend:latest registry.stoatinternal.com/stoat/legacy-frontend:latest
build-args: | build-args: |
REVOLT_PUBLIC_URL=https://api.stoat.chat/ REVOLT_PUBLIC_URL=https://api.stoat.chat/
REVOLT_SAAS=https://git.stoatinternal.com/brand/assets.git
REVOLT_SAAS_BRANCH=for-legacy-web
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max

View File

@@ -8,6 +8,12 @@ COPY .env.build .env
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
RUN yarn build:deps RUN yarn build:deps
# RUN yarn typecheck # lol no # RUN yarn typecheck # lol no
ARG REVOLT_SAAS
ARG REVOLT_SAAS_BRANCH
ENV REVOLT_SAAS=$REVOLT_SAAS
ENV REVOLT_SAAS_BRANCH=$REVOLT_SAAS_BRANCH
RUN yarn build:highmem RUN yarn build:highmem
RUN yarn workspaces focus --production --all RUN yarn workspaces focus --production --all