drone deploy

This commit is contained in:
Sergio Álvarez 2023-03-18 11:48:58 +01:00
parent cdd65d4c7f
commit 0bd0e048b8
No known key found for this signature in database
GPG Key ID: BD711A37FE7DD77E
2 changed files with 21 additions and 1 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
kind: pipeline
type: docker
name: build
steps:
- name: build
image: public.ecr.aws/composer/composer:latest
commands:
- cd app
- composer install
- name: deploy-to-volume
image: public.ecr.aws/docker/library/busybox:latest
commands:
- cd app
- ls -la /var/www-dencode
- rm -rf /var/www-dencode/*
- cp -r . /var/www-dencode/
node:
location: hub

View File

@ -1 +0,0 @@
web: vendor/bin/heroku-php-nginx