Browse Source

make it work

jackyalcine 1 year ago
parent
commit
b98a5acd9c
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 36CD7728BDFD66FF
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      .drone.yml

+ 4
- 4
.drone.yml View File

@@ -23,19 +23,19 @@ steps:
23 23
         path: /drone/src/vendor/bundle
24 24
     commands:
25 25
       - apk add -U build-base
26
-      - bundle install --deployment
26
+      - bundle install --deployment --binstubs=vendor/bin
27 27
   - name: build - website
28 28
     image: ruby:2.5.0-alpine
29 29
     volumes:
30 30
       - name: npm
31 31
         path: /drone/src/node_modules
32 32
       - name: ruby
33
-        path: /drone/src/vendor/bundle
33
+        path: /drone/src/vendor
34 34
     environment:
35 35
       ENV: 'test'
36 36
     commands:
37
-      - bundle exec rake build:deploy
38
-      - bundle exec rake spec
37
+      - vendor/bin/rake build:deploy
38
+      - vendor/bin/rake rake spec
39 39
   - name: deploy
40 40
     image: appleboy/drone-git-push
41 41
     remote: dokku@jacky.wtf:jacky-wtf-static

Loading…
Cancel
Save