Don't publish on local s3 anymore
This commit is contained in:
parent
f82edc9c60
commit
a27a2a6283
1 changed files with 7 additions and 24 deletions
|
@ -1,12 +1,3 @@
|
|||
branches:
|
||||
exclude:
|
||||
- renovate/*
|
||||
when:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
- tag
|
||||
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
|
@ -42,21 +33,13 @@ steps:
|
|||
ftp_password:
|
||||
from_secret: ovh_ftp_password
|
||||
clean_dir: true
|
||||
pre_action: 'ftp:passive-mode true'
|
||||
pre_action: 'set ftp:passive-mode true'
|
||||
secure: false
|
||||
src_dir: /public/
|
||||
dest_dir: /www/
|
||||
|
||||
publish-on-s3:
|
||||
image: plugins/s3
|
||||
settings:
|
||||
endpoint: https://storage.nemunai.re
|
||||
path_style: true
|
||||
bucket: nemunai.re-blog
|
||||
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