diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5c3b5f0..fca245b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: host: ${{ secrets.SERVER_HOST }} username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SERVER_SSH_KEY }} - scripts: | + script: | docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_APP_NAME }}:latest docker stop ${{ secrets.DOCKER_APP_NAME }} || true docker rm ${{ secrets.DOCKER_APP_NAME }} || true