You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Backend/drone/.drone.yml

25 lines
454 B

kind: pipeline
type: docker
name: Deployment
steps:
- name: Unit tests
image: amazoncorretto:11
commands:
- echo
- ./gradlew :test
- name: Deploy
image: amazoncorretto:11
depends_on:
- 'Unit tests'
environment:
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE
SSH_PUBLIC_KEY:
from_secret: SSH_PUBLIC
commands:
- chmod 777 drone/deliver.sh
- drone/deliver.sh $DRONE_BRANCH