modified drone script
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is passing Details

é
drone-setup
Override-6 2 years ago
parent d7c57f06fa
commit b94b4493e2

@ -5,27 +5,27 @@ name: "Server CI"
steps:
- name: Unit tests
image: override6/tbasket-test:latest
image: override6/tbasket-backend:latest
volumes:
- name: build
path: ./build
commands:
- ./mill tests.test
- name: Deploy
image: override6/tbasket-backend:latest
depends_on:
- 'Unit tests'
environment:
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE
PASSWD:
from_secret: PASSWD
volumes:
- name: build
path: ./build
commands:
- ./mill Core.compile
- chmod 777 drone/deliver.sh
- drone/deliver.sh
# - name: Deploy
# image: override6/tbasket-backend:latest
# depends_on:
# - 'Unit tests'
# environment:
# SSH_PRIVATE_KEY:
# from_secret: SSH_PRIVATE
# PASSWD:
# from_secret: PASSWD
# volumes:
# - name: build
# path: ./build
# commands:
# - ./mill Core.compile
# - chmod 777 drone/deliver.sh
# - drone/deliver.sh