android_vendor_mulchwebview/.drone.yml

35 lines
735 B
YAML
Raw Normal View History

kind: pipeline
type: docker
2023-03-08 14:38:17 -05:00
name: Updater
steps:
- name: update
image: eclipse-temurin:17.0.6_10-jdk-focal
entrypoint: [ "/bin/bash" ]
commands:
- apt update
- apt install -y --no-install-recommends pipx python3-venv python3.9 python3-pip
2023-03-08 21:18:41 -05:00
- cd updater
- pipx install pipenv
- pipx ensurepath
- export PATH=/root/.local/bin:$PATH
- pipenv install
- pipenv --python /usr/bin/python3.9 run python main.py
2023-03-08 17:26:30 -05:00
- name: push
image: ghcr.io/appleboy/drone-git-push
2023-03-08 17:26:30 -05:00
pull: if-not-exists
settings:
branch: main
remote: git@git.nelim.org:matt1432/android_vendor_mulchwebview.git
commit: true
2023-03-08 21:30:51 -05:00
commit_message: "Update APK"
2023-03-08 17:26:30 -05:00
ssh_key:
from_secret: ssh
2023-03-08 21:30:51 -05:00
trigger:
event:
- cron
cron:
- update