diff --git a/.drone.yml b/.drone.yml index 6146045..e444c05 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,17 +11,11 @@ steps: commands: - apk add hugo - hugo -- name: sync - image: plugins/s3-sync:1 - settings: - access_key: - from_secret: blog_upload_id - secret_key: - from_secret: blog_upload_key - region: us-east-1 - bucket: blog.ndumas.com - source: public/ - target: / -trigger: - branch: - - main +- name: publish + image: alpine:3 + commands: + - cp public/* /mnt/blog/ + volumes: + - name: blog + host: + path: /var/www/blog.ndumas.com