deploy only on main
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1bd83cd1a2
commit
0e300bf5e7
|
@ -8,6 +8,9 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- cd app
|
- cd app
|
||||||
- composer install
|
- composer install
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
- name: deploy-to-volume
|
- name: deploy-to-volume
|
||||||
image: busybox:latest
|
image: busybox:latest
|
||||||
|
@ -16,6 +19,9 @@ steps:
|
||||||
- mkdir -p /var/www/dencode
|
- mkdir -p /var/www/dencode
|
||||||
- rm -rf /var/www/dencode/*
|
- rm -rf /var/www/dencode/*
|
||||||
- cp -r . /var/www/dencode/
|
- cp -r . /var/www/dencode/
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
|
||||||
node:
|
node:
|
||||||
location: nexus
|
location: nexus
|
||||||
|
|
Loading…
Reference in New Issue