From ab1f32f32ef4a84508cbc05b1874a1f2ee063d87 Mon Sep 17 00:00:00 2001 From: 4o1x5 <4o1x5@4o1x5.dev> Date: Thu, 6 Jun 2024 06:30:13 +0200 Subject: [PATCH] fix: now prs don't deploy to the dev server --- .github/workflows/build_deploy_dev.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_deploy_dev.yml b/.github/workflows/build_deploy_dev.yml index 2e7e5b1..c2a99cd 100644 --- a/.github/workflows/build_deploy_dev.yml +++ b/.github/workflows/build_deploy_dev.yml @@ -1,10 +1,8 @@ -name: build and publish docker image / deploy +name: Build docker images, publish them, deploy to test server on: push: branches: ["dev"] - pull_request: - branches: ["dev"] jobs: @@ -16,9 +14,6 @@ jobs: id: maven-cache-restore uses: https://github.com/actions/cache/restore@v4 with: - path: | - path/to/dependencies - some/other/dependencies key: linux-maven - uses: https://github.com/actions/checkout@v4 @@ -50,7 +45,8 @@ jobs: key: linux-maven restore-keys: | linux-maven - + + # TODO trigger pull with docker - name: executing remote ssh commands using ssh key uses: https://github.com/appleboy/ssh-action@v1.0.3 with: