Modified drone config

This commit is contained in:
konrad 2018-01-11 12:28:58 +01:00 committed by kolaente
parent dd292ac93a
commit a5a749460e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ pipeline:
commands:
- make release
when:
event: [push, tag, deployment]
event: [tag, push]
release:
image: plugins/s3:1
@ -79,8 +79,8 @@ pipeline:
# pull: true
# secrets: [ aws_access_key_id, aws_secret_access_key ]
# commands:
# - config host add minio https://storage.kolaente.de $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY S3v4 --insecure
# - cp dist/release/* library-release/master/ -r --insecure
# - mc config host add minio https://storage.kolaente.de $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY S3v4 --insecure
# - mc cp dist/release/* library-release/master/ -r --insecure
# when:
# event: [ push ]
# branch: [ master ]