mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
chore: ci adjust
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
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/dist/apps/venus ./dist
|
||||
COPY --from=builder /app/Caddyfile-venus ./Caddyfile
|
||||
COPY --from=builder /app/.github/deployment/Caddyfile-venus ./Caddyfile
|
||||
RUN rm ./dist/*.txt
|
||||
|
||||
# =============
|
||||
2
.github/workflows/keck.yml
vendored
2
.github/workflows/keck.yml
vendored
@@ -60,7 +60,7 @@ jobs:
|
||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile-keck
|
||||
file: ./.github/deployment/Dockerfile-keck
|
||||
push: ${{ github.ref == 'refs/heads/field' && true || false }}
|
||||
tags: ${{ steps.meta_keck.outputs.tags }}
|
||||
labels: ${{ steps.meta_keck.outputs.labels }}
|
||||
|
||||
2
.github/workflows/venus.yml
vendored
2
.github/workflows/venus.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile-venus
|
||||
file: ./.github/deployment/Dockerfile-venus
|
||||
push: ${{ github.ref == 'refs/heads/master' && true || false }}
|
||||
tags: ${{ steps.meta_venus.outputs.tags }}
|
||||
labels: ${{ steps.meta_venus.outputs.labels }}
|
||||
|
||||
Reference in New Issue
Block a user