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

This commit is contained in:
nemunaire 2022-01-18 08:04:35 +01:00
parent 5812077896
commit e745673dd1

View File

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