Update .drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4740eb2a57
commit
f2bb9f912d
19
.drone.yml
19
.drone.yml
|
|
@ -3,25 +3,6 @@ type: docker
|
||||||
name: Validate and deploy frontend
|
name: Validate and deploy frontend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check deployment access
|
|
||||||
image: appleboy/drone-ssh
|
|
||||||
settings:
|
|
||||||
host: server1.midastix.com
|
|
||||||
username: mihir
|
|
||||||
key:
|
|
||||||
from_secret: manicandles_deploy_key
|
|
||||||
port: 22
|
|
||||||
script_stop: true
|
|
||||||
script:
|
|
||||||
- test -w /var/www/manicandles/releases && test -w /var/www/manicandles/incoming
|
|
||||||
- test -r /etc/nginx/snippets/manicandles.conf
|
|
||||||
- command -v flock && command -v curl
|
|
||||||
when:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
- name: Validate Nginx configuration
|
- name: Validate Nginx configuration
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
commands:
|
commands:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue