Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: lisa ci

DarkSkya495ebb7a25d
diff --git a/Caddyfile b/.github/deployment/Caddyfile-lisa
similarity index 100%
rename from Caddyfile
rename to .github/deployment/Caddyfile-lisa
diff --git a/Dockerfile b/.github/deployment/Dockerfile-lisa
similarity index 84%
rename from Dockerfile
rename to .github/deployment/Dockerfile-lisa
index f6e2249faf..8541853747 100644
--- a/Dockerfile
+++ b/.github/deployment/Dockerfile-lisa
@@ -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
WORKDIR /app
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
# =============
diff --git a/.github/workflows/lisa.yml b/.github/workflows/lisa.yml
index 878fad6274..ead4c8fff2 100644
--- a/.github/workflows/lisa.yml
+++ b/.github/workflows/lisa.yml
@@ -53,6 +53,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
+ file: ./.github/deployment/Dockerfile-lisa
push: ${{ github.ref == 'refs/heads/master' && true || false }}
tags: ${{ steps.meta_lisa.outputs.tags }}
labels: ${{ steps.meta_lisa.outputs.labels }}