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"]
|
command: ["build"]
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: ubuntu
|
image: alpine:latest
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
HOST:
|
HOST:
|
||||||
|
@ -26,12 +26,9 @@ steps:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -qq > /dev/null
|
- apt-get update
|
||||||
- apt-get install ssh rsync -qq > /dev/null
|
- apt-get add openssh rsync
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.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