This commit is contained in:
parent
1d98979751
commit
6ab57e7faf
35
.drone.yml
35
.drone.yml
@ -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:
|
|
||||||
- master
|
|
||||||
event:
|
event:
|
||||||
exclude:
|
- cron
|
||||||
- pull_request
|
- push
|
||||||
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user