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:
|
clone:
|
||||||
git:
|
git:
|
||||||
image: woodpeckerci/plugin-git
|
image: woodpeckerci/plugin-git
|
||||||
|
@ -42,21 +33,13 @@ steps:
|
||||||
ftp_password:
|
ftp_password:
|
||||||
from_secret: ovh_ftp_password
|
from_secret: ovh_ftp_password
|
||||||
clean_dir: true
|
clean_dir: true
|
||||||
pre_action: 'ftp:passive-mode true'
|
pre_action: 'set ftp:passive-mode true'
|
||||||
secure: false
|
secure: false
|
||||||
src_dir: /public/
|
src_dir: /public/
|
||||||
dest_dir: /www/
|
dest_dir: /www/
|
||||||
|
when:
|
||||||
publish-on-s3:
|
- branch: master
|
||||||
image: plugins/s3
|
event:
|
||||||
settings:
|
- cron
|
||||||
endpoint: https://storage.nemunai.re
|
- push
|
||||||
path_style: true
|
- tag
|
||||||
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//\\//-}"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue