This commit is contained in:
parent
e43f4befda
commit
9f509759cc
@ -4,19 +4,13 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build
|
- name: Build
|
||||||
image: python
|
image: python:3.9
|
||||||
commands:
|
commands:
|
||||||
- echo $PASSWORD
|
|
||||||
- echo PASSWORD
|
|
||||||
- echo ${PASSWORD}
|
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install python3-systemd libsystemd-dev
|
- apt-get -y install python3-systemd libsystemd-dev
|
||||||
- pip install pex
|
- pip install pex
|
||||||
- pip install .
|
- pip install .
|
||||||
- pex ./ -m yamaha2mqtt -o yamaha2mqtt.pex
|
- pex ./ -m yamaha2mqtt -o yamaha2mqtt.pex
|
||||||
environment:
|
|
||||||
PASSWORD:
|
|
||||||
from_secret: ssh_key
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user