meta: add Drone CI support
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
536fca8d40
commit
365f9eab96
1 changed files with 20 additions and 0 deletions
20
.drone.yml
Normal file
20
.drone.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
kind: pipeline
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: alpine
|
||||
environment:
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
username:
|
||||
from_secret: ssh_username
|
||||
key:
|
||||
from_secret: ssh_private_key
|
||||
port: 22
|
||||
commands:
|
||||
- apk add -q openssh-client
|
||||
- mkdir ~/.ssh
|
||||
- echo "$key" > ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh -o StrictHostKeyChecking=no $username@$host ./build.sh
|
Loading…
Reference in a new issue