Fix pipeline: run deploy directly instead of SSH
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -15,14 +15,8 @@ steps:
|
|||||||
- ${CI_COMMIT_SHA:0:7}
|
- ${CI_COMMIT_SHA:0:7}
|
||||||
dockerfile: ctrl/edge/Dockerfile
|
dockerfile: ctrl/edge/Dockerfile
|
||||||
context: ctrl/edge
|
context: ctrl/edge
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: docker:24-cli
|
image: docker:24-cli
|
||||||
commands:
|
commands:
|
||||||
- cd /repo/ctrl/edge
|
- cd ctrl/edge && ./deploy.sh
|
||||||
- ./deploy.sh
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /home/mariano/sysmonstm:/repo
|
|
||||||
|
|||||||
Reference in New Issue
Block a user