Merge pull request 'fix: now prs don't deploy to the dev server' (#16) from ci-cd into dev
Some checks failed
Build docker images, publish them, deploy to test server / build (push) Failing after 42s
Some checks failed
Build docker images, publish them, deploy to test server / build (push) Failing after 42s
Reviewed-on: #16 Reviewed-by: Seiwy <bmate20050911@gmail.com>
This commit is contained in:
commit
aae2556836
10
.github/workflows/build_deploy_dev.yml
vendored
10
.github/workflows/build_deploy_dev.yml
vendored
|
@ -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
|
||||
|
@ -51,7 +46,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:
|
||||
|
|
Reference in a new issue