set python version
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolas Duhamel 2021-11-01 13:52:21 +01:00
parent e43f4befda
commit 9f509759cc

View File

@ -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: