Run CI pipeline test with Alpine
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
22570b24ba
commit
f6fca429d5
|
@ -9,7 +9,7 @@ steps:
|
|||
command: ["build"]
|
||||
|
||||
- name: deploy
|
||||
image: ubuntu
|
||||
image: alpine:latest
|
||||
|
||||
environment:
|
||||
HOST:
|
||||
|
@ -26,12 +26,9 @@ steps:
|
|||
- main
|
||||
|
||||
commands:
|
||||
- apt-get update -qq > /dev/null
|
||||
- apt-get install ssh rsync -qq > /dev/null
|
||||
- apt-get update
|
||||
- apt-get add openssh rsync
|
||||
- eval $(ssh-agent -s)
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-add
|
||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
- rsync -rP public/ "$${USER}@$${HOST}:$${PATH}"
|
||||
|
|
Loading…
Reference in New Issue