mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-22 19:53:48 +08:00
chore: lisa ci
This commit is contained in:
@@ -7,7 +7,7 @@ RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store
|
|||||||
FROM node:16-alpine as relocate
|
FROM node:16-alpine as relocate
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/dist/apps/ligo-virgo ./dist
|
COPY --from=builder /app/dist/apps/ligo-virgo ./dist
|
||||||
COPY --from=builder /app/Caddyfile ./
|
COPY --from=builder /app/.github/deployment/Caddyfile-lisa ./
|
||||||
RUN rm ./dist/*.txt
|
RUN rm ./dist/*.txt
|
||||||
|
|
||||||
# =============
|
# =============
|
||||||
@@ -53,6 +53,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
file: ./.github/deployment/Dockerfile-lisa
|
||||||
push: ${{ github.ref == 'refs/heads/master' && true || false }}
|
push: ${{ github.ref == 'refs/heads/master' && true || false }}
|
||||||
tags: ${{ steps.meta_lisa.outputs.tags }}
|
tags: ${{ steps.meta_lisa.outputs.tags }}
|
||||||
labels: ${{ steps.meta_lisa.outputs.labels }}
|
labels: ${{ steps.meta_lisa.outputs.labels }}
|
||||||
|
|||||||
Reference in New Issue
Block a user