From f080854899294aef6a55838e0970ad4bfe827d97 Mon Sep 17 00:00:00 2001 From: "DESKTOP-2S5P7D1\\Windows 10" Date: Tue, 24 Dec 2024 10:50:43 +0700 Subject: [PATCH] no message --- .github/workflows/release.yaml | 24 ++++++++++++------------ docker/Dockerfile | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b52a7ee..ddfd391 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -54,18 +54,18 @@ jobs: file: docker/Dockerfile push: true tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest - - name: Remote Deployment - uses: appleboy/ssh-action@v0.1.8 - with: - host: ${{env.DEPLOY_HOST}} - username: frappet - password: ${{ secrets.SSH_PASSWORD }} - port: 10102 - script: | - cd "${{env.COMPOSE_PATH}}" - docker compose pull - docker compose up -d - echo "${{ steps.gen_ver.outputs.image_ver }}"> success + # - name: Remote Deployment + # uses: appleboy/ssh-action@v0.1.8 + # with: + # host: ${{env.DEPLOY_HOST}} + # username: frappet + # password: ${{ secrets.SSH_PASSWORD }} + # port: 10102 + # script: | + # cd "${{env.COMPOSE_PATH}}" + # docker compose pull + # docker compose up -d + # echo "${{ steps.gen_ver.outputs.image_ver }}"> success - name: Notify Discord Success if: success() run: | diff --git a/docker/Dockerfile b/docker/Dockerfile index 6767e59..e75f5a0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -22,4 +22,4 @@ COPY --from=deps /app/node_modules /app/node_modules COPY --from=build /app/dist /app/dist COPY --from=base /app/static /app/static -CMD ["pnpm", "run", "start"] +CMD ["npm", "run", "start"]