From 04fe7c29cb8faf9f1395b5fef256479c73315a2c Mon Sep 17 00:00:00 2001
From: Felix Ableitner <me@nutomic.com>
Date: Tue, 8 Dec 2020 21:25:24 +0100
Subject: [PATCH] remove workspace, fix paths

---
 .drone.yml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 1d064071..0ff9318a 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,15 +1,12 @@
 kind: pipeline
 name: default
 
-workspace:
-  path: /drone/src/docker/travis
-
 steps:
   - name: test
     image: docker/compose:alpine-1.27.4
     commands:
-      - pwd
-      - ls -la
-      - docker build ../../ --file ../prod/Dockerfile --tag dessalines/lemmy:travis
-      - docker-compose up -d
+      - docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
+      - docker-compose up -f docker/travis/docker-compose.yml -d
+      - sleep 10
+      - docker-compose down
 
-- 
2.44.1