From 0bd0e048b8fde6c3403943be9b554c0ac63701c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Sat, 18 Mar 2023 11:48:58 +0100 Subject: [PATCH] drone deploy --- .drone.yml | 21 +++++++++++++++++++++ Procfile | 1 - 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .drone.yml delete mode 100644 Procfile diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..941c852 --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/Procfile b/Procfile deleted file mode 100644 index 5a68323..0000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: vendor/bin/heroku-php-nginx