From cdfb6edc0492696c70a767ff595502810c0a7a3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Mon, 14 Aug 2023 14:57:37 +0200 Subject: [PATCH] direct deploy --- .drone.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6ae522f..4e3f707 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,16 +12,7 @@ steps: commands: - bundle config set --local path /cache/.bundle - bundle install - - bundle exec jekyll build - -- name: deploy - image: busybox - volumes: - - name: www - path: /tmp/www - commands: - - rm -rf /tmp/www/_site - - cp -r _site /tmp/www/_site + - bundle exec jekyll build --destination /var/www/ --incremental when: branch: @@ -34,6 +25,3 @@ volumes: - name: bundle-cache host: path: /var/lib/drone/temp/ruby-bundle-cache-sergio.am -- name: www - host: - path: /var/www