Actually update the database container
Some checks failed
Build and push container image / build (push) Has been cancelled
Some checks failed
Build and push container image / build (push) Has been cancelled
This commit is contained in:
parent
c95dcc6173
commit
e33487adc1
@ -41,7 +41,7 @@ jobs:
|
|||||||
cache-to: type=local,dest=/tmp/.build-cache
|
cache-to: type=local,dest=/tmp/.build-cache
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache,mode=max
|
cache-from: type=local,src=/tmp/.buildx-cache,mode=max
|
||||||
|
|
||||||
- name: Container deployment
|
- name: Update Delivery
|
||||||
uses: https://github.com/appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3
|
uses: https://github.com/appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SSH_HOST }}
|
host: ${{ secrets.SSH_HOST }}
|
||||||
@ -50,6 +50,6 @@ jobs:
|
|||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
port: ${{ secrets.SSH_PORT }}
|
port: ${{ secrets.SSH_PORT }}
|
||||||
script: |
|
script: |
|
||||||
cd kon && docker compose pull && \
|
cd kon && docker compose && \
|
||||||
docker compose down bot --remove-orphans && docker compose up -d bot && \
|
docker compose down --remove-orphans && docker compose up -d && \
|
||||||
docker image prune -f && docker system prune -f
|
docker image prune -f && docker system prune -f
|
||||||
|
Loading…
Reference in New Issue
Block a user