From 9ee0d95a63b8b109bff17b3ac0239f9d89c043cd Mon Sep 17 00:00:00 2001 From: YuYu1015 <44525760+whes1015@users.noreply.github.com> Date: Wed, 4 Dec 2024 22:32:14 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef76bef..6894329 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,10 +9,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: SSH and deploy + - name: SSH and rebuild bot uses: appleboy/ssh-action@v1.0.0 with: host: ${{ secrets.SERVER_HOST }} @@ -21,6 +18,4 @@ jobs: script: | cd /home/user/kami-music-bot git pull - docker compose down - docker compose build --no-cache - docker compose up -d + docker compose up -d --build discord-bot