add deploy.yaml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marko 2022-07-19 14:00:09 +02:00
parent 9b73ce375f
commit 5302e6ca99
3 changed files with 36 additions and 0 deletions

13
.drone.yml Normal file
View File

@ -0,0 +1,13 @@
kind: pipeline
name: default
steps:
- name: install
image: composer
commands:
- composer install
- name: test
image: php:8.1
commands:
- vendor/bin/phpunit --configuration config.xml

View File

@ -1,3 +1,5 @@
[![Build Status](https://ci.basehosts.de/api/badges/OrangeJungle/CdsConnector/status.svg)](https://ci.basehosts.de/OrangeJungle/CdsConnector)
# CdsConnector
================

21
deploy.yaml Normal file
View File

@ -0,0 +1,21 @@
import:
- recipe/symfony.php
config:
repository: 'https://mmoeller:Linchen90@gitbase.de/OrangeJungle/CdsConnector.git'
hosts:
192.168.178.95:
alias: 'staging'
remote_user: pi
deploy_path: '~/CdsConnector'
tasks:
build:
- cd: '{{release_path}}'
- run: 'composer install'
after:
deploy:failed: deploy:unlock