no message
This commit is contained in:
parent
c6c1ebd7c3
commit
f080854899
2 changed files with 13 additions and 13 deletions
24
.github/workflows/release.yaml
vendored
24
.github/workflows/release.yaml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue