android_vendor_mulchwebview/.github/workflows/updater.yml

30 lines
751 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
- pipx install pipenv
- pipx ensurepath
- export PATH=/root/.local/bin:$PATH
- pipenv install
- cd updater
- pipenv --python /usr/bin/python3.9 run pip install requests_cache
- pipenv --python /usr/bin/python3.9 run python main.py
2023-03-08 17:26:30 -05:00
- name: push
image: appleboy/drone-git-push
pull: if-not-exists
settings:
branch: main
remote: git@git.nelim.org:matt1432/android_vendor_mulchwebview.git
commit: true
commit_message: "Updated APK"
ssh_key:
from_secret: ssh