no message

This commit is contained in:
DESKTOP-2S5P7D1\Windows 10 2024-12-24 10:50:43 +07:00
parent c6c1ebd7c3
commit f080854899
2 changed files with 13 additions and 13 deletions

View file

@ -54,18 +54,18 @@ jobs:
file: docker/Dockerfile file: docker/Dockerfile
push: true push: true
tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest tags: ${{env.REGISTRY}}/${{env.IMAGE_NAME}}:${{ steps.gen_ver.outputs.image_ver }},${{env.REGISTRY}}/${{env.IMAGE_NAME}}:latest
- name: Remote Deployment # - name: Remote Deployment
uses: appleboy/ssh-action@v0.1.8 # uses: appleboy/ssh-action@v0.1.8
with: # with:
host: ${{env.DEPLOY_HOST}} # host: ${{env.DEPLOY_HOST}}
username: frappet # username: frappet
password: ${{ secrets.SSH_PASSWORD }} # password: ${{ secrets.SSH_PASSWORD }}
port: 10102 # port: 10102
script: | # script: |
cd "${{env.COMPOSE_PATH}}" # cd "${{env.COMPOSE_PATH}}"
docker compose pull # docker compose pull
docker compose up -d # docker compose up -d
echo "${{ steps.gen_ver.outputs.image_ver }}"> success # echo "${{ steps.gen_ver.outputs.image_ver }}"> success
- name: Notify Discord Success - name: Notify Discord Success
if: success() if: success()
run: | run: |

View file

@ -22,4 +22,4 @@ COPY --from=deps /app/node_modules /app/node_modules
COPY --from=build /app/dist /app/dist COPY --from=build /app/dist /app/dist
COPY --from=base /app/static /app/static COPY --from=base /app/static /app/static
CMD ["pnpm", "run", "start"] CMD ["npm", "run", "start"]