Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
Florian Bouillon 2020-03-16 23:19:41 +01:00
parent 141cf190e9
commit 51d43790a4
No known key found for this signature in database
GPG Key ID: B143FF27EF555D16

View File

@ -21,7 +21,7 @@ steps:
image: node:alpine image: node:alpine
commands: commands:
- apk -q add yarn - apk -q add yarn
- yarn gen:all # - yarn gen:all
- name: push - name: push
image: alpine/git image: alpine/git
@ -40,7 +40,7 @@ steps:
- name: Upload - name: Upload
image: alpine image: alpine
commands: commands:
- apk -q add openssh-client - apk -q add openssh-client sshpass
- "sshpass -p ${UPLOAD_PASSWORD} scp -vvv -r dist/ ${UPLOAD_USERNAME}@${UPLOAD_REMOTE}:${UPLOAD_DIST}" - "sshpass -p ${UPLOAD_PASSWORD} scp -vvv -r dist/ ${UPLOAD_USERNAME}@${UPLOAD_REMOTE}:${UPLOAD_DIST}"
environment: environment:
UPLOAD_USERNAME: UPLOAD_USERNAME: