Publish on s3
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-01-18 08:05:15 +01:00
parent 1d98979751
commit 6ab57e7faf

View File

@ -21,23 +21,22 @@ steps:
hugo_version: 0.84.4 hugo_version: 0.84.4
validate: true validate: true
- name: deploy - name: publish on s3
image: appleboy/drone-scp image: plugins/s3
settings: settings:
tar_tmp_path: /tmp/ endpoint: https://storage.nemunai.re
host: blog.happydns.org path_style: true
target: /var/www/happydns.org/blog/ bucket: happydomain-blog
source: public/* access_key:
strip_components: 1 from_secret: s3_access_key
username: secret_key:
from_secret: ssh_username from_secret: s3_secret_key
key: source: public/**/*
from_secret: deploy_key strip_prefix: public/
port: target: /${DRONE_BRANCH//\//-}
from_secret: ssh_port
when: trigger:
branch: event:
- master - cron
event: - push
exclude: - tag
- pull_request