This commit is contained in:
parent
5812077896
commit
e745673dd1
38
.drone.yml
38
.drone.yml
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user