From f7bdc1fff86d26b07e715033202c5b2753fc547e Mon Sep 17 00:00:00 2001 From: Dean Lofts Date: Sat, 13 Jul 2024 23:53:06 +1000 Subject: [PATCH] idiot --- .github/workflows/deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 14e93eb..9f3b7aa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,6 @@ jobs: echo "${{ secrets.GH_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin GITHUB_TOKEN=${{ secrets.GH_PAT }} docker buildx build --secret id=GITHUB_TOKEN -t ghcr.io/loftwah-demo/pirate_app/pirateapp:latest --push . - - name: Deploy to droplet uses: appleboy/ssh-action@master with: @@ -36,6 +35,6 @@ jobs: username: root key: ${{ secrets.DROPLET_SSH_PRIVATE_KEY }} script: | - docker-compose -f /root/docker-compose.prod.yml --env-file /root/.env down - docker-compose -f /root/docker-compose.prod.yml --env-file /root/.env pull - docker-compose -f /root/docker-compose.prod.yml --env-file /root/.env up -d + docker compose -f /root/docker-compose.prod.yml --env-file /root/.env down + docker compose -f /root/docker-compose.prod.yml --env-file /root/.env pull + docker compose -f /root/docker-compose.prod.yml --env-file /root/.env up -d