This commit is contained in:
parent
c93b48bb74
commit
7a3c452c9b
|
@ -10,9 +10,8 @@ pipeline:
|
|||
commands:
|
||||
- hugo -D
|
||||
deploy:
|
||||
image: seriousbug/rsync
|
||||
secrets: [SSH_KEY, SSH_USER]
|
||||
image: minio/mc
|
||||
secrets: [MINIO_URL, ACCESS_KEY, SECRET_KEY]
|
||||
commands:
|
||||
- echo $SSH_KEY | base64 -d > ssh_key
|
||||
- chmod 600 ssh_key
|
||||
- rsync -avz -e 'ssh -o StrictHostKeyChecking=no -i ssh_key' public/ $SSH_USER@bgenc.net:/array/www/
|
||||
- mc alias set minio $MINIO_URL $ACCESS_KEY $SECRET_KEY
|
||||
- mc public/ minio/
|
||||
|
|
Loading…
Reference in a new issue