s3/s3upload.drone hinzugefügt
This commit is contained in:
parent
5cfb93302c
commit
02ed89d0fa
1 changed files with 16 additions and 0 deletions
16
s3/s3upload.drone
Normal file
16
s3/s3upload.drone
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Example for the usage of s3upload.sh on DroneCI
|
||||
|
||||
- name: Release_binary s3
|
||||
image: alpine
|
||||
environment:
|
||||
s3_host:
|
||||
from_secret: s3_host
|
||||
s3_key:
|
||||
from_secret: s3_key
|
||||
s3_secret:
|
||||
from_secret: s3_secret
|
||||
commands:
|
||||
- apk add curl wget ca-certificates openssl bash
|
||||
- cd dist/
|
||||
- wget https://git.hackmi.ch/Phil/ci-scripts/raw/branch/main/s3/s3upload.sh
|
||||
- bash s3upload.sh BUCKET FILENAME
|
Loading…
Reference in a new issue