Update stale env variable and switch back alpine
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
0f913e3099
commit
e2ce39f9c1
|
@ -9,7 +9,7 @@ steps:
|
||||||
command: ["build"]
|
command: ["build"]
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: ubuntu:latest
|
image: alpine:latest
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
HOST:
|
HOST:
|
||||||
|
@ -17,7 +17,7 @@ steps:
|
||||||
USER:
|
USER:
|
||||||
from_secret: user
|
from_secret: user
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
from_secret: rsync_key
|
from_secret: ssh_key
|
||||||
SITE_PATH:
|
SITE_PATH:
|
||||||
from_secret: path
|
from_secret: path
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ steps:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apk update
|
||||||
- apt-get install -y ssh rsync
|
- apk add openssh rsync
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||||
|
|
Loading…
Reference in New Issue