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
|
secure: false
|
||||||
src_dir: /public/
|
src_dir: /public/
|
||||||
dest_dir: /www/
|
dest_dir: /www/
|
||||||
|
when:
|
||||||
publish-on-s3:
|
- branch: master
|
||||||
image: woodpeckerci/plugin-s3
|
event:
|
||||||
settings:
|
- cron
|
||||||
endpoint: https://storage.nemunai.re
|
- push
|
||||||
path_style: true
|
- tag
|
||||||
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//\\//-}"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue