This commit is contained in:
parent
fe8d3de009
commit
0f635502ff
1 changed files with 6 additions and 14 deletions
|
@ -23,17 +23,9 @@ steps:
|
|||
secure: false
|
||||
src_dir: /public/
|
||||
dest_dir: /www/
|
||||
|
||||
publish-on-s3:
|
||||
image: woodpeckerci/plugin-s3
|
||||
settings:
|
||||
endpoint: https://storage.nemunai.re
|
||||
path_style: true
|
||||
bucket: happydomain-htdocs
|
||||
access_key:
|
||||
from_secret: s3_access_key
|
||||
secret_key:
|
||||
from_secret: s3_secret_key
|
||||
source: public/**/*
|
||||
strip_prefix: public/
|
||||
target: "/${CI_COMMIT_BRANCH//\\//-}"
|
||||
when:
|
||||
- branch: master
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
- tag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue