ci: atualiza pipeline completa para produção e homologação
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -36,7 +36,7 @@ steps:
|
|||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
- name: deploy to production
|
- name: deploy to production
|
||||||
image: appleboy/scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: 216.22.5.141
|
host: 216.22.5.141
|
||||||
username: root
|
username: root
|
||||||
@@ -49,7 +49,7 @@ steps:
|
|||||||
branch: production
|
branch: production
|
||||||
|
|
||||||
- name: restart production container
|
- name: restart production container
|
||||||
image: appleboy/ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: 216.22.5.141
|
host: 216.22.5.141
|
||||||
username: root
|
username: root
|
||||||
@@ -61,3 +61,4 @@ steps:
|
|||||||
- docker compose up -d
|
- docker compose up -d
|
||||||
when:
|
when:
|
||||||
branch: production
|
branch: production
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user