This commit is contained in:
matt1432 2023-03-08 17:26:30 -05:00
parent 3135f99f80
commit 91a5a79e29
2 changed files with 12 additions and 1 deletions

View file

@ -16,3 +16,14 @@ steps:
- cd updater
- pipenv --python /usr/bin/python3.9 run pip install requests_cache
- pipenv --python /usr/bin/python3.9 run python main.py
- 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

View file

@ -29,7 +29,7 @@ def update_if_needed(module: str, release: ApkRelease):
version_code_file.close()
print('commit and push...')
git.add_commit_push(module_dir, 'Update {} to {}'.format(module, release.version_name))
# git.add_commit_push(module_dir, 'Update {} to {}'.format(module, release.version_name))
elif version_code > release.version_code:
print('{} ahead of suggested version ({} > {})'.format(module, version_code, release.version_code))